mirror of
https://github.com/EricPlayZ/EGameTools.git
synced 2026-10-10 21:03:03 +08:00
9c705ef652
- Now using precompiled headers for extremely fast compilation times :D
17 lines
428 B
C
17 lines
428 B
C
#pragma once
|
|
struct Vector3 {
|
|
float X, Y, Z;
|
|
|
|
bool operator==(const Vector3& v) const;
|
|
Vector3& operator+=(const Vector3& v);
|
|
Vector3& operator-=(const Vector3& v);
|
|
Vector3 operator+(const Vector3& v) const;
|
|
Vector3 operator-(const Vector3& v) const;
|
|
Vector3 operator*(float scalar) const;
|
|
Vector3 operator/(float scalar) const;
|
|
|
|
Vector3 normalize();
|
|
Vector3 cross(const Vector3& v) const;
|
|
|
|
bool isDefault() const;
|
|
}; |