rename transform matrix
This commit is contained in:
parent
16c546c28d
commit
e457f1ff81
@ -151,7 +151,7 @@ sweet_matrix_identity4 (void)
|
||||
|
||||
|
||||
mat2
|
||||
sweet_matrix_ortho_transform2 (vec2 u, vec2 v)
|
||||
sweet_matrix_ortho_basis2 (vec2 u, vec2 v)
|
||||
{
|
||||
mat2 m;
|
||||
m.v[0] = u.x;
|
||||
@ -164,7 +164,7 @@ sweet_matrix_ortho_transform2 (vec2 u, vec2 v)
|
||||
}
|
||||
|
||||
mat3
|
||||
sweet_matrix_ortho_transform3 (vec3 u, vec3 v, vec3 w)
|
||||
sweet_matrix_ortho_basis3 (vec3 u, vec3 v, vec3 w)
|
||||
{
|
||||
mat3 m;
|
||||
m.v[0] = u.x;
|
||||
@ -183,7 +183,7 @@ sweet_matrix_ortho_transform3 (vec3 u, vec3 v, vec3 w)
|
||||
}
|
||||
|
||||
mat4
|
||||
sweet_matrix_ortho_transform4 (vec4 u, vec4 v, vec4 w, vec4 t)
|
||||
sweet_matrix_ortho_basis4 (vec4 u, vec4 v, vec4 w, vec4 t)
|
||||
{
|
||||
mat4 m;
|
||||
m.v[0] = u.x;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user