Rise
The Vieneo Province
Loading...
Searching...
No Matches
Rendering::Math11 Namespace Reference

Typedefs

using Vector = DirectX::XMFLOAT3
using Vector4 = DirectX::XMFLOAT4
using Matrix = DirectX::XMFLOAT4X4

Functions

Vector operator+ (const Vector &a, const Vector &b)
Vector operator- (const Vector &a, const Vector &b)
Vector operator* (const Vector &a, float b)
Vector & operator+= (Vector &a, const Vector &b)
Vector & operator-= (Vector &a, const Vector &b)
float Dot (const Vector &a, const Vector &b)
float LengthSquared (const Vector &a)
float Length (const Vector &a)
Vector Cross (const Vector &a, const Vector &b)
Vector Normalize (const Vector &a)
Vector TransformVector (const Vector &a, const Matrix &matrix)
Vector TransformPoint (const Vector &a, const Matrix &matrix)
Vector4 TransformClip (const Vector &a, const Matrix &matrix)
Matrix operator* (const Matrix &a, const Matrix &b)
bool Inverse (Matrix &result, const Matrix &matrix)

Typedef Documentation

◆ Matrix

using Rendering::Math11::Matrix = DirectX::XMFLOAT4X4

Definition at line 9 of file Math11.h.

◆ Vector

using Rendering::Math11::Vector = DirectX::XMFLOAT3

Definition at line 7 of file Math11.h.

◆ Vector4

using Rendering::Math11::Vector4 = DirectX::XMFLOAT4

Definition at line 8 of file Math11.h.

Function Documentation

◆ Cross()

Vector Rendering::Math11::Cross ( const Vector & a,
const Vector & b )
inline

Definition at line 19 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Dot()

float Rendering::Math11::Dot ( const Vector & a,
const Vector & b )
inline

Definition at line 15 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Inverse()

bool Rendering::Math11::Inverse ( Matrix & result,
const Matrix & matrix )
inline

Definition at line 31 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Length()

float Rendering::Math11::Length ( const Vector & a)
inline

Definition at line 18 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LengthSquared()

float Rendering::Math11::LengthSquared ( const Vector & a)
inline

Definition at line 17 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Normalize()

Vector Rendering::Math11::Normalize ( const Vector & a)
inline

Definition at line 21 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator*() [1/2]

Matrix Rendering::Math11::operator* ( const Matrix & a,
const Matrix & b )
inline

Definition at line 29 of file Math11.h.

Here is the call graph for this function:

◆ operator*() [2/2]

Vector Rendering::Math11::operator* ( const Vector & a,
float b )
inline

Definition at line 12 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator+()

Vector Rendering::Math11::operator+ ( const Vector & a,
const Vector & b )
inline

Definition at line 10 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator+=()

Vector & Rendering::Math11::operator+= ( Vector & a,
const Vector & b )
inline

Definition at line 13 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator-()

Vector Rendering::Math11::operator- ( const Vector & a,
const Vector & b )
inline

Definition at line 11 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator-=()

Vector & Rendering::Math11::operator-= ( Vector & a,
const Vector & b )
inline

Definition at line 14 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TransformClip()

Vector4 Rendering::Math11::TransformClip ( const Vector & a,
const Matrix & matrix )
inline

Definition at line 27 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TransformPoint()

Vector Rendering::Math11::TransformPoint ( const Vector & a,
const Matrix & matrix )
inline

Definition at line 25 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TransformVector()

Vector Rendering::Math11::TransformVector ( const Vector & a,
const Matrix & matrix )
inline

Definition at line 23 of file Math11.h.

Here is the call graph for this function:
Here is the caller graph for this function: