remove wasteful and mostly unused matrix math helpers (pass by reference,

don't return by value)
This commit is contained in:
Glenn Maynard
2005-02-05 02:42:33 +00:00
parent 9a164cd7b4
commit aceff788bf
3 changed files with 2 additions and 32 deletions
+2 -1
View File
@@ -324,7 +324,8 @@ void DancingCharacters::DrawPrimitives()
float fCameraHeight = SCALE( fPercentIntoSweep, 0.f, 1.f, m_fCameraHeightStart, m_fCameraHeightEnd );
RageVector3 m_CameraPoint( 0, fCameraHeight, -m_CameraDistance );
const RageMatrix CameraRot = RageMatrixRotationY(fCameraPanY);
RageMatrix CameraRot;
RageMatrixRotationY( &CameraRot, fCameraPanY );
RageVec3TransformCoord( &m_CameraPoint, &m_CameraPoint, &CameraRot );
RageVector3 m_LookAt( 0, m_fLookAtHeight, 0 );