15 #include "CeeCore/Base.h"
29 Vec2d(
double x,
double y);
36 const Vec2d operator*(
double scalar)
const;
37 const Vec2d operator/(
double scalar)
const;
40 Vec2d& operator*=(
double scalar);
41 Vec2d& operator/=(
double scalar);
43 static double dot(
const Vec2d& v1,
const Vec2d& v2);
44 double operator*(
const Vec2d& rhs)
const;
46 const double& x()
const;
47 const double& y()
const;
50 void set(
double x,
double y);
53 double length()
const;
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
Vector class for a 2D double vector.
Definition: Vec2d.h:24
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