MATH: Move the math classes to their own math/ dir and Math namespace.
This commit is contained in:
parent
e9267cfec5
commit
0083c8619c
42 changed files with 353 additions and 346 deletions
|
@ -241,7 +241,7 @@ void AnimManager::removeAnimation(Animation *anim) {
|
|||
void AnimManager::animate(ModelNode *hier, int numNodes) {
|
||||
// Apply animation to each hierarchy node separately.
|
||||
for (int i = 0; i < numNodes; i++) {
|
||||
Graphics::Vector3d tempPos;
|
||||
Math::Vector3d tempPos;
|
||||
float tempYaw = 0.0f, tempPitch = 0.0f, tempRoll = 0.0f;
|
||||
float totalWeight = 0.0f;
|
||||
float remainingWeight = 1.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue