Nebula
Loading...
Searching...
No Matches
vector.h File Reference
#include "scalar.h"
#include "vec4.h"
#include "vec3.h"

Go to the source code of this file.

Classes

struct  Math::vector
 A vector is a 3D direction in space. More...
 

Namespaces

namespace  Math
 Different curves.
 

Functions

__forceinline vector Math::operator- (const vector &rhs)
 
__forceinline vector Math::operator+ (const vector &lhs, const vector &rhs)
 
__forceinline vector Math::operator- (const vector &lhs, const vector &rhs)
 
__forceinline vector Math::operator* (const vector &lhs, scalar s)
 
__forceinline vector Math::operator* (const vector &lhs, const vector &rhs)
 
__forceinline vector Math::normalize (const vector &v)
 
__forceinline vector Math::normalizeapprox (const vector &v)
 
__forceinline scalar Math::dot (const vector &v0, const vector &v1)
 
__forceinline vector Math::cross (const vector &v0, const vector &v1)
 
__forceinline scalar Math::length (const vector &v)
 
__forceinline scalar Math::lengthsq (const vector &v)