mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fixed operator /
This commit is contained in:
parent
e65fc31481
commit
85bce33797
@ -522,8 +522,7 @@ namespace detail
|
|||||||
return tmat3x4<T>(
|
return tmat3x4<T>(
|
||||||
m[0] / s,
|
m[0] / s,
|
||||||
m[1] / s,
|
m[1] / s,
|
||||||
m[2] / s,
|
m[2] / s);
|
||||||
m[3] / s);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
@ -536,8 +535,7 @@ namespace detail
|
|||||||
return tmat3x4<T>(
|
return tmat3x4<T>(
|
||||||
s / m[0],
|
s / m[0],
|
||||||
s / m[1],
|
s / m[1],
|
||||||
s / m[2],
|
s / m[2]);
|
||||||
s / m[3]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unary constant operators
|
// Unary constant operators
|
||||||
|
Loading…
Reference in New Issue
Block a user