glstuff

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit ee4245064e020bb7a11c19781d52ab8fe0537b5c
parent 188e8f45df324dcb4cbc13718d5dc06562392298
Author: Brian Swetland <swetland@frotz.net>
Date:   Sun, 20 Jan 2013 20:08:25 -0800

fix comment explaining mtx_mul_unsafe

Diffstat:
Mutil.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/util.h b/util.h @@ -26,7 +26,8 @@ void mtx_identity(mat4 out); /* out = left * right */ void mtx_mul(mat4 out, mat4 left, mat4 right); -/* avoids a copy, but out and left may not be the same */ +/* avoids a copy, but out and right may not be the same */ +/* mtx_mul_unsafe(a, a, b) = OK, mtx_mul_unsafe(a, b, a) = FAIL */ void mtx_mul_unsafe(mat4 out, mat4 left, mat4 right); void mtx_mul_vec4(vec4 out, mat4 left, vec4 right);