Skip to content

File LinearAlgebra.h

Go to the source code of this file

Namespaces

Type Name
namespace SparkyStudios
namespace Audio
namespace Amplitude

Public Types

Type Name
union AmMatrix3
A 3x3 matrix represented as an array of 9 float values in column-major order.
union AmMatrix4
A 4x4 matrix represented as an array of 16 float values in column-major order.
union AmQuaternion
A quaternion rotation.
union AmVector2
A column-vector of two float values.
union AmVector3
A column-vector of three float values.
union AmVector4
A column-vector of four float values.

Macros

Type Name
define _AM_MATH_LINEAR_ALGEBRA_H

Public Types Documentation

AmMatrix3

A 3x3 matrix represented as an array of 9 float values in column-major order.


The matrix layout in memory is: [m00 m01 m02] [m10 m11 m12] [m20 m21 m22]

AmMatrix4

A 4x4 matrix represented as an array of 16 float values in column-major order.


The matrix layout in memory is: [m00 m01 m02 m03] [m10 m11 m12 m13] [m20 m21 m22 m23] [m30 m31 m32 m33]

AmQuaternion

A quaternion rotation.


  • Index 0 is the value of the W component.
  • Index 1 is the value of the X component.
  • Index 2 is the value of the Y component.
  • Index 3 is the value of the Z component.
AmVector2

A column-vector of two float values.


  • Index 0 is the value of the X component.
  • Index 1 is the value of the Y component.
AmVector3

A column-vector of three float values.


  • Index 0 is the value of the X component.
  • Index 1 is the value of the Y component.
  • Index 2 is the value of the Z component.
AmVector4

A column-vector of four float values.


  • Index 0 is the value of the X component.
  • Index 1 is the value of the Y component.
  • Index 2 is the value of the Z component.
  • Index 3 is the value of the W component.

Macro Definition Documentation

_AM_MATH_LINEAR_ALGEBRA_H
#define _AM_MATH_LINEAR_ALGEBRA_H 

The documentation for this file was generated from the following file: include/SparkyStudios/Audio/Amplitude/Math/LinearAlgebra.h