mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
change mat4test back to getFront
premature, including in seperate commit
This commit is contained in:
parent
8df0395754
commit
66d697873f
1 changed files with 2 additions and 2 deletions
|
@ -143,10 +143,10 @@ function testInverse() {
|
|||
|
||||
function testFront() {
|
||||
var test0 = IDENTITY;
|
||||
assert(mat4FuzzyEqual({x: 0, y: 0, z: -1}, Mat4.getForward(test0)));
|
||||
assert(mat4FuzzyEqual({x: 0, y: 0, z: -1}, Mat4.getFront(test0)));
|
||||
|
||||
var test1 = Mat4.createFromScaleRotAndTrans(ONE_HALF, ROT_Y_180, ONE_TWO_THREE);
|
||||
assert(mat4FuzzyEqual({x: 0, y: 0, z: 1}, Mat4.getForward(test1)));
|
||||
assert(mat4FuzzyEqual({x: 0, y: 0, z: 1}, Mat4.getFront(test1)));
|
||||
}
|
||||
|
||||
function testMat4() {
|
||||
|
|
Loading…
Reference in a new issue