MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / Vector4

Class Vector4

engine/src/vector.h:52–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50};
51
52class Vector4
53{
54public:
55 float x, y, z, w;
56
57 Vector4(float _x = 0, float _y = 0, float _z = 0, float _w = 0);
58 ~Vector4();
59
60 Vector4& operator = (const Vector4 &rhs);
61 Vector4& operator += (const Vector4 &rhs);
62 Vector4 operator * (float rhs) const;
63 Vector4 operator / (float rhs) const;
64 Vector4 operator + (const Vector4 &rhs) const;
65 Vector4 operator - (const Vector4 &rhs) const;
66};
67
68#endif

Callers 5

R_drawScreenDebugFunction · 0.85
operator *Method · 0.85
operator /Method · 0.85
operator +Method · 0.85
operator -Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected