15 #include "CeeCore/Base.h"
31 Vec3d(
double x,
double y,
double z);
38 const Vec3d operator*(
double scalar)
const;
39 const Vec3d operator/(
double scalar)
const;
42 Vec3d& operator*=(
double scalar);
43 Vec3d& operator/=(
double scalar);
48 static double dot(
const Vec3d& v1,
const Vec3d& v2);
49 double operator*(
const Vec3d& rhs)
const;
54 const double& x()
const;
55 const double& y()
const;
56 const double& z()
const;
60 void set(
double x,
double y,
double z);
62 void transformPoint(
const Mat4d& m);
63 void transformVector(
const Mat4d& m);
66 double length()
const;
67 double lengthSquared()
const;
68 double angle(
const Vec3d& other);
cee::Str operator+(const char *str1, const cee::Str &str2)
Global operator to allow a const char + a cee::Str.
Definition: Str.cpp:817
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppAssert.cpp:18
bool operator!=(const PtrRef< T1 > &a, const PtrRef< T2 > &b)
Returns true if the internal pointers of refs a and b are different.
Definition: PtrRef.h:58
bool operator==(const PtrRef< T1 > &a, const PtrRef< T2 > &b)
Returns true if the internal pointers of refs a and b are equal.
Definition: PtrRef.h:57
friend Vec3d operator*(double scalar, const Vec3d &v)
Returns a vector that is the vector v multiplied by a given scalar.
Definition: Vec3d.h:46
const Vec3d UNDEFINED_VECTOR
Undefined value for Vec3d.
Definition: Vec3d.h:75
Vector class for a 3D double vector.
Definition: Vec3d.h:26
const double UNDEFINED_DOUBLE
Undefined value for double.
Definition: Base.h:94
4 dimensional matrix.
Definition: Mat4d.h:26