Fixed Vector3::Make[Forward|Left] not returning

Former-commit-id: be947d6b5c7c1a353fd035f3a5c1c495066ff7ac
This commit is contained in:
Lynix 2012-11-22 11:44:32 +01:00
parent faee0b93b5
commit c1879d6bf9
1 changed files with 2 additions and 2 deletions

View File

@ -109,13 +109,13 @@ float NzVector3<T>::Lengthf() const
template<typename T>
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>
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>