Changed gl functions to double version. Added unit conversion methods.
Parsing of BVH file half done. HIERARCHY section is done: Skeleton displays on screen in initial pose. Pose methods built. Working on parsing MOTION section next.
Undid parsing of channel data because it was not useful. Created BvhParser class to encapsulate parsing and allow member variable access across recursive method calls to populate BvhData structure.
BVH parsing finished first draft. Hooked up to draw skeleton method and it displays something. Rudimentary animating is possible, but it looks totally unstable.
Fixed problems with parsing bvh motion and creating quaternions. Animation now appears to be working correctly.
Commented out drawing points. Made overriden functions virtual in GlTransformable.
Calculating skeleton box.
Calculating motion box.
Calculating movement box.
Trying to automatically set the camera.
Works ok but some animations still get the edges cut off.