diff options
Diffstat (limited to 'core/math/quat.h')
| -rw-r--r-- | core/math/quat.h | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/core/math/quat.h b/core/math/quat.h index 7d71ec03e8..8ed2fa7cc2 100644 --- a/core/math/quat.h +++ b/core/math/quat.h @@ -131,6 +131,14 @@ public:  			w(q.w) {  	} +	Quat operator=(const Quat &q) { +		x = q.x; +		y = q.y; +		z = q.z; +		w = q.w; +		return *this; +	} +  	Quat(const Vector3 &v0, const Vector3 &v1) // shortest arc  	{  		Vector3 c = v0.cross(v1);  |