Replaced Transform's Forward.get with new rotate method
This commit is contained in:
parent
c3582cf5ee
commit
222bda9a13
|
@ -107,8 +107,7 @@ namespace SHADE
|
|||
|
||||
Vector3 Transform::Forward::get()
|
||||
{
|
||||
const SHVec3 DIRECTION = SHVec3::Rotate(-SHVec3::UnitZ, Convert::ToNative(GlobalRotation));
|
||||
return Convert::ToCLI(DIRECTION);
|
||||
return Vector3::Rotate(Vector3::Forward, GlobalRotation);
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in New Issue