Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
Vector3.hpp File Reference

Header for the 3D vector class. More...

#include "aeongames/Platform.hpp"
#include <cstdint>
Include dependency graph for Vector3.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AeonGames::Vector3
 3D vector class. More...

Namespaces

namespace  AeonGames
 <- This is here just for the literals

Functions

DLL const Vector3 AeonGames::operator- (const Vector3 &aLhs, const Vector3 &aRhs)
 Subtraction operator.
DLL const Vector3 AeonGames::operator+ (const Vector3 &aLhs, const Vector3 &aRhs)
 Addition operator.
DLL const Vector3 AeonGames::operator* (const Vector3 &aLhs, const float aRhs)
 Scalar multiplication operator (vector * scalar).
DLL const Vector3 AeonGames::operator/ (const Vector3 &aLhs, const float aRhs)
 Scalar division operator.
DLL const Vector3 AeonGames::operator* (const float aLhs, const Vector3 &aRhs)
 Scalar multiplication operator (scalar * vector).
DLL const Vector3 AeonGames::operator* (const Vector3 &aLhs, const Vector3 &aRhs)
 Component-wise multiplication operator.
DLL bool AeonGames::operator!= (const Vector3 &aLhs, const Vector3 &aRhs)
 Inequality comparison operator.
DLL bool AeonGames::operator== (const Vector3 &aLhs, const Vector3 &aRhs)
 Equality comparison operator.
DLL const Vector3 AeonGames::Cross (const Vector3 &aLhs, const Vector3 &aRhs)
 Compute the cross product of two vectors.
DLL const float AeonGames::Dot (const Vector3 &aLhs, const Vector3 &aRhs)
 Compute the dot product of two vectors.
DLL const Vector3 AeonGames::Normalize (const Vector3 &aVector)
 Return a normalized (unit length) copy of the vector.
DLL const Vector3 AeonGames::Abs (const Vector3 &aVector)
 Return a vector with all components replaced by their absolute values.
DLL const Vector3 AeonGames::Spline (const Vector3 &p0, const Vector3 &p1, const Vector3 &p2, const Vector3 &p3, double interpolation)
 Catmull-Rom spline interpolation between four control points.

Detailed Description

Header for the 3D vector class.

Author
Rodrigo Hernandez.

Definition in file Vector3.hpp.