mirror of
https://github.com/icaven/glm.git
synced 2026-02-16 07:09:54 +08: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…
x
Reference in New Issue
Block a user