Fixed Vector3::Make[Forward|Left] not returning
Former-commit-id: be947d6b5c7c1a353fd035f3a5c1c495066ff7ac
This commit is contained in:
parent
faee0b93b5
commit
c1879d6bf9
|
|
@ -109,13 +109,13 @@ float NzVector3<T>::Lengthf() const
|
||||||
template<typename T>
|
template<typename T>
|
||||||
NzVector3<T>& NzVector3<T>::MakeForward()
|
NzVector3<T>& NzVector3<T>::MakeForward()
|
||||||
{
|
{
|
||||||
Set(F(0.0), F(0.0), F(-1.0));
|
return Set(F(0.0), F(0.0), F(-1.0));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
NzVector3<T>& NzVector3<T>::MakeLeft()
|
NzVector3<T>& NzVector3<T>::MakeLeft()
|
||||||
{
|
{
|
||||||
Set(F(-1.0), F(0.0), F(0.0));
|
return Set(F(-1.0), F(0.0), F(0.0));
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue