| 22 | } |
| 23 | |
| 24 | EveCamera::EveCamera( IRoot* lockobj ) : |
| 25 | m_friction( 7.0f ), |
| 26 | m_maxSpeed( 0.05f ), |
| 27 | m_zoomKey( 0 ), |
| 28 | m_zoomTime( 0.0f ), |
| 29 | |
| 30 | m_fieldOfView( defFOV ), |
| 31 | m_frontClip( 10.0f ), |
| 32 | m_backClip( 10000000.0f ), |
| 33 | // if TRI_PIBY2 is used everything gets borken at the top :-( ?!?! |
| 34 | m_minPitch( -1.4f ), |
| 35 | m_maxPitch( 1.4f ), |
| 36 | m_minYaw( 0.0f ), |
| 37 | m_maxYaw( 0.0f ), |
| 38 | |
| 39 | m_noise( false ), |
| 40 | m_noiseScale( 1.0f ), |
| 41 | m_noiseDamp( 1.1f ), |
| 42 | |
| 43 | m_idleMove( false ), |
| 44 | m_idleScale( 2.0f ), |
| 45 | m_idleSpeed( 0.8f ), |
| 46 | |
| 47 | m_yawInt( 0.0f ), |
| 48 | m_pitchInt( 0.0f ), |
| 49 | m_yawIntSpeed( 0.0f ), |
| 50 | m_pitchIntSpeed( 0.0f ), |
| 51 | |
| 52 | m_idleTheta( 0.0f ), |
| 53 | m_trackInterest( false ), |
| 54 | m_NoiseyN( 0.0f ), |
| 55 | m_NoisexN( 0.0f ), |
| 56 | m_maxNoise( 80.0f ), |
| 57 | |
| 58 | m_yaw( 0.0f ), |
| 59 | m_pitch( 0.0f ), |
| 60 | m_yawSpeed( 0.0f ), |
| 61 | m_pitchSpeed( 0.0f ), |
| 62 | m_time( 0 ), |
| 63 | m_start( 0 ), |
| 64 | |
| 65 | m_projectionCenterOffset( 0.0f ), |
| 66 | m_rotationAroundParent( 0.f, 0.f, 0.f, 1.f ), |
| 67 | m_rotationOfInterest( 0.f, 0.f, 0.f, 1.f ), |
| 68 | m_translationFromParent( 0, 0, 20.0f ), |
| 69 | |
| 70 | m_pos( 0, 0, 0 ), |
| 71 | m_intr( 0, 0, 0 ), |
| 72 | m_viewVec( 0, 0, 0 ), |
| 73 | m_rightVec( 0, 0, 0 ), |
| 74 | m_upVec( 0, 0, 0 ), |
| 75 | m_alignment( 0, 1, 0 ), |
| 76 | |
| 77 | m_extraParentTranslation( 0, 0, 0 ), |
| 78 | m_useExtraParentTranslation( false ), |
| 79 | |
| 80 | m_update( true ), |
| 81 | m_failedLastFrame( false ), |
nothing calls this directly
no test coverage detected