Return *this after normalizing
This commit is contained in:
parent
e76bf0f444
commit
fcde85c642
2 changed files with 4 additions and 8 deletions
|
@ -28,7 +28,7 @@ struct Vector3
|
|||
float length() const;
|
||||
float dot(Vector3 v) const;
|
||||
|
||||
void normalize();
|
||||
Vector3 &normalize();
|
||||
|
||||
static const Vector3 Zero;
|
||||
float x, y, z;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue