mirror of
https://github.com/overte-org/overte.git
synced 2025-04-11 12:20:26 +02:00
change testFront to testForward
This commit is contained in:
parent
2d1ca99e2e
commit
2fc8dd48de
1 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ function testInverse() {
|
|||
assert(mat4FuzzyEqual(IDENTITY, Mat4.multiply(test2, Mat4.inverse(test2))));
|
||||
}
|
||||
|
||||
function testFront() {
|
||||
function testForward() {
|
||||
var test0 = IDENTITY;
|
||||
assert(mat4FuzzyEqual({x: 0, y: 0, z: -1}, Mat4.getForward(test0)));
|
||||
|
||||
|
@ -157,7 +157,7 @@ function testMat4() {
|
|||
testTransformPoint();
|
||||
testTransformVector();
|
||||
testInverse();
|
||||
testFront();
|
||||
testForward();
|
||||
|
||||
print("MAT4 TEST complete! (" + (testCount - failureCount) + "/" + testCount + ") tests passed!");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue