Rebel Fork Framework
Urho3D::HighPrecisionVector3 Struct Reference

3-vector with double precision. More...

#include <Urho3D/Math/TetrahedralMesh.h>

Public Member Functions

 HighPrecisionVector3 ()=default
 Construct default.
 
 HighPrecisionVector3 (const Vector3 &vec)
 Construct from Vector3.
 
 operator Vector3 () const
 Convert to Vector3.
 
double DotProduct (const HighPrecisionVector3 &rhs) const
 Dot product with another vector.
 
HighPrecisionVector3 CrossProduct (const HighPrecisionVector3 &rhs) const
 Cross product with another vector.
 
double LengthSquared () const
 Return squared length of the vector.
 
HighPrecisionVector3 operator+ (const HighPrecisionVector3 &rhs) const
 Add another vector.
 
HighPrecisionVector3 operator- (const HighPrecisionVector3 &rhs) const
 Subtract another vector.
 
HighPrecisionVector3 operator* (double rhs) const
 Multiply with scalar.
 

Public Attributes

double data_ [3] {}
 Components.
 

Detailed Description

3-vector with double precision.


The documentation for this struct was generated from the following file: