@@ -61,8 +61,8 @@ typedef struct
61
61
Real cameraAngle[MAX_WAYPOINTS+2 ]; // Camera Angle;
62
62
Int timeMultiplier[MAX_WAYPOINTS+2 ]; // Time speedup factor.
63
63
Real groundHeight[MAX_WAYPOINTS+1 ]; // Ground height.
64
- Int totalTimeMilliseconds; // Num of ms to do this movement.
65
- Int elapsedTimeMilliseconds; // Time since start.
64
+ Real totalTimeMilliseconds; // Num of ms to do this movement.
65
+ Real elapsedTimeMilliseconds; // Time since start.
66
66
Real totalDistance; // Total length of paths.
67
67
Real curSegDistance; // How far we are along the current seg.
68
68
Int shutter;
@@ -284,7 +284,7 @@ class W3DView : public View, public SubsystemInterface
284
284
void setCameraTransform ( void ); // /< set the transform matrix of m_3DCamera, based on m_pos & m_angle
285
285
void buildCameraTransform ( Matrix3D *transform ) ; // /< calculate (but do not set) the transform matrix of m_3DCamera, based on m_pos & m_angle
286
286
void calcCameraConstraints () ; // /< recalc m_cameraConstraint
287
- void moveAlongWaypointPath (Int milliseconds); // /< Move camera along path.
287
+ void moveAlongWaypointPath (Real milliseconds); // /< Move camera along path.
288
288
void getPickRay (const ICoord2D *screen, Vector3 *rayStart, Vector3 *rayEnd); // /<returns a line segment (ray) originating at the given screen position
289
289
void setupWaypointPath (Bool orient); // /< Calculates distances & angles for moving along a waypoint path.
290
290
void rotateCameraOneFrame (void ); // /< Do one frame of a rotate camera movement.
@@ -301,6 +301,6 @@ class W3DView : public View, public SubsystemInterface
301
301
}; // end class W3DView
302
302
303
303
// EXTERNALS //////////////////////////////////////////////////////////////////////////////////////
304
- extern Int TheW3DFrameLengthInMsec; // default is 33msec/frame == 30fps. but we may change it depending on sys config.
304
+ extern Real TheW3DFrameLengthInMsec;
305
305
306
306
#endif // end __W3DVIEW_H_
0 commit comments