include/Spectre/Math/Matrix3.inl: make Identity work for all template specializations. not just float.
This commit is contained in:
parent
8901257bb6
commit
96f6725428
1 changed files with 2 additions and 2 deletions
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
namespace sp {
|
namespace sp {
|
||||||
|
|
||||||
template <>
|
template<typename T>
|
||||||
Matrix3f Matrix3f::Identity(
|
sp::Matrix3<T> sp::Matrix3<T>::Identity(
|
||||||
1, 0, 0,
|
1, 0, 0,
|
||||||
0, 1, 0,
|
0, 1, 0,
|
||||||
0, 0, 1
|
0, 0, 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue