Bullet Collision Detection & Physics Library
Classes | Namespaces | Functions
scalar/vectormath_aos.h File Reference
#include <math.h>
#include "vec_aos.h"
#include "quat_aos.h"
#include "mat_aos.h"
Include dependency graph for scalar/vectormath_aos.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Vectormath::Aos::Vector3
 
class  Vectormath::Aos::Vector4
 
class  Vectormath::Aos::Point3
 
class  Vectormath::Aos::Quat
 
class  Vectormath::Aos::Matrix3
 
class  Vectormath::Aos::Matrix4
 
class  Vectormath::Aos::Transform3
 

Namespaces

 Vectormath
 
 Vectormath::Aos
 

Functions

const Vector3 Vectormath::Aos::operator* (float scalar, const Vector3 &vec)
 
const Vector3 Vectormath::Aos::mulPerElem (const Vector3 &vec0, const Vector3 &vec1)
 
const Vector3 Vectormath::Aos::divPerElem (const Vector3 &vec0, const Vector3 &vec1)
 
const Vector3 Vectormath::Aos::recipPerElem (const Vector3 &vec)
 
const Vector3 Vectormath::Aos::sqrtPerElem (const Vector3 &vec)
 
const Vector3 Vectormath::Aos::rsqrtPerElem (const Vector3 &vec)
 
const Vector3 Vectormath::Aos::absPerElem (const Vector3 &vec)
 
const Vector3 Vectormath::Aos::copySignPerElem (const Vector3 &vec0, const Vector3 &vec1)
 
const Vector3 Vectormath::Aos::maxPerElem (const Vector3 &vec0, const Vector3 &vec1)
 
const Vector3 Vectormath::Aos::minPerElem (const Vector3 &vec0, const Vector3 &vec1)
 
float Vectormath::Aos::maxElem (const Vector3 &vec)
 
float Vectormath::Aos::minElem (const Vector3 &vec)
 
float Vectormath::Aos::sum (const Vector3 &vec)
 
float Vectormath::Aos::dot (const Vector3 &vec0, const Vector3 &vec1)
 
float Vectormath::Aos::lengthSqr (const Vector3 &vec)
 
float Vectormath::Aos::length (const Vector3 &vec)
 
const Vector3 Vectormath::Aos::normalize (const Vector3 &vec)
 
const Vector3 Vectormath::Aos::cross (const Vector3 &vec0, const Vector3 &vec1)
 
const Matrix3 Vectormath::Aos::outer (const Vector3 &tfrm0, const Vector3 &tfrm1)
 
const Vector3 Vectormath::Aos::rowMul (const Vector3 &vec, const Matrix3 &mat)
 
const Matrix3 Vectormath::Aos::crossMatrix (const Vector3 &vec)
 
const Matrix3 Vectormath::Aos::crossMatrixMul (const Vector3 &vec, const Matrix3 &mat)
 
const Vector3 Vectormath::Aos::lerp (float t, const Vector3 &vec0, const Vector3 &vec1)
 
const Vector3 Vectormath::Aos::slerp (float t, const Vector3 &unitVec0, const Vector3 &unitVec1)
 
const Vector3 Vectormath::Aos::select (const Vector3 &vec0, const Vector3 &vec1, bool select1)
 
void Vectormath::Aos::loadXYZ (Vector3 &vec, const float *fptr)
 
void Vectormath::Aos::storeXYZ (const Vector3 &vec, float *fptr)
 
void Vectormath::Aos::loadHalfFloats (Vector3 &vec, const unsigned short *hfptr)
 
void Vectormath::Aos::storeHalfFloats (const Vector3 &vec, unsigned short *hfptr)
 
const Vector4 Vectormath::Aos::operator* (float scalar, const Vector4 &vec)
 
const Vector4 Vectormath::Aos::mulPerElem (const Vector4 &vec0, const Vector4 &vec1)
 
const Vector4 Vectormath::Aos::divPerElem (const Vector4 &vec0, const Vector4 &vec1)
 
const Vector4 Vectormath::Aos::recipPerElem (const Vector4 &vec)
 
const Vector4 Vectormath::Aos::sqrtPerElem (const Vector4 &vec)
 
const Vector4 Vectormath::Aos::rsqrtPerElem (const Vector4 &vec)
 
const Vector4 Vectormath::Aos::absPerElem (const Vector4 &vec)
 
const Vector4 Vectormath::Aos::copySignPerElem (const Vector4 &vec0, const Vector4 &vec1)
 
const Vector4 Vectormath::Aos::maxPerElem (const Vector4 &vec0, const Vector4 &vec1)
 
const Vector4 Vectormath::Aos::minPerElem (const Vector4 &vec0, const Vector4 &vec1)
 
float Vectormath::Aos::maxElem (const Vector4 &vec)
 
float Vectormath::Aos::minElem (const Vector4 &vec)
 
float Vectormath::Aos::sum (const Vector4 &vec)
 
float Vectormath::Aos::dot (const Vector4 &vec0, const Vector4 &vec1)
 
float Vectormath::Aos::lengthSqr (const Vector4 &vec)
 
float Vectormath::Aos::length (const Vector4 &vec)
 
const Vector4 Vectormath::Aos::normalize (const Vector4 &vec)
 
const Matrix4 Vectormath::Aos::outer (const Vector4 &tfrm0, const Vector4 &tfrm1)
 
const Vector4 Vectormath::Aos::lerp (float t, const Vector4 &vec0, const Vector4 &vec1)
 
const Vector4 Vectormath::Aos::slerp (float t, const Vector4 &unitVec0, const Vector4 &unitVec1)
 
const Vector4 Vectormath::Aos::select (const Vector4 &vec0, const Vector4 &vec1, bool select1)
 
void Vectormath::Aos::loadXYZW (Vector4 &vec, const float *fptr)
 
void Vectormath::Aos::storeXYZW (const Vector4 &vec, float *fptr)
 
void Vectormath::Aos::loadHalfFloats (Vector4 &vec, const unsigned short *hfptr)
 
void Vectormath::Aos::storeHalfFloats (const Vector4 &vec, unsigned short *hfptr)
 
const Point3 Vectormath::Aos::mulPerElem (const Point3 &pnt0, const Point3 &pnt1)
 
const Point3 Vectormath::Aos::divPerElem (const Point3 &pnt0, const Point3 &pnt1)
 
const Point3 Vectormath::Aos::recipPerElem (const Point3 &pnt)
 
const Point3 Vectormath::Aos::sqrtPerElem (const Point3 &pnt)
 
const Point3 Vectormath::Aos::rsqrtPerElem (const Point3 &pnt)
 
const Point3 Vectormath::Aos::absPerElem (const Point3 &pnt)
 
const Point3 Vectormath::Aos::copySignPerElem (const Point3 &pnt0, const Point3 &pnt1)
 
const Point3 Vectormath::Aos::maxPerElem (const Point3 &pnt0, const Point3 &pnt1)
 
const Point3 Vectormath::Aos::minPerElem (const Point3 &pnt0, const Point3 &pnt1)
 
float Vectormath::Aos::maxElem (const Point3 &pnt)
 
float Vectormath::Aos::minElem (const Point3 &pnt)
 
float Vectormath::Aos::sum (const Point3 &pnt)
 
const Point3 Vectormath::Aos::scale (const Point3 &pnt, float scaleVal)
 
const Point3 Vectormath::Aos::scale (const Point3 &pnt, const Vector3 &scaleVec)
 
float Vectormath::Aos::projection (const Point3 &pnt, const Vector3 &unitVec)
 
float Vectormath::Aos::distSqrFromOrigin (const Point3 &pnt)
 
float Vectormath::Aos::distFromOrigin (const Point3 &pnt)
 
float Vectormath::Aos::distSqr (const Point3 &pnt0, const Point3 &pnt1)
 
float Vectormath::Aos::dist (const Point3 &pnt0, const Point3 &pnt1)
 
const Point3 Vectormath::Aos::lerp (float t, const Point3 &pnt0, const Point3 &pnt1)
 
const Point3 Vectormath::Aos::select (const Point3 &pnt0, const Point3 &pnt1, bool select1)
 
void Vectormath::Aos::loadXYZ (Point3 &pnt, const float *fptr)
 
void Vectormath::Aos::storeXYZ (const Point3 &pnt, float *fptr)
 
void Vectormath::Aos::loadHalfFloats (Point3 &vec, const unsigned short *hfptr)
 
void Vectormath::Aos::storeHalfFloats (const Point3 &vec, unsigned short *hfptr)
 
const Quat Vectormath::Aos::operator* (float scalar, const Quat &quat)
 
const Quat Vectormath::Aos::conj (const Quat &quat)
 
const Vector3 Vectormath::Aos::rotate (const Quat &quat, const Vector3 &vec)
 
float Vectormath::Aos::dot (const Quat &quat0, const Quat &quat1)
 
float Vectormath::Aos::norm (const Quat &quat)
 
float Vectormath::Aos::length (const Quat &quat)
 
const Quat Vectormath::Aos::normalize (const Quat &quat)
 
const Quat Vectormath::Aos::lerp (float t, const Quat &quat0, const Quat &quat1)
 
const Quat Vectormath::Aos::slerp (float t, const Quat &unitQuat0, const Quat &unitQuat1)
 
const Quat Vectormath::Aos::squad (float t, const Quat &unitQuat0, const Quat &unitQuat1, const Quat &unitQuat2, const Quat &unitQuat3)
 
const Quat Vectormath::Aos::select (const Quat &quat0, const Quat &quat1, bool select1)
 
void Vectormath::Aos::loadXYZW (Quat &quat, const float *fptr)
 
void Vectormath::Aos::storeXYZW (const Quat &quat, float *fptr)
 
const Matrix3 Vectormath::Aos::operator* (float scalar, const Matrix3 &mat)
 
const Matrix3 Vectormath::Aos::appendScale (const Matrix3 &mat, const Vector3 &scaleVec)
 
const Matrix3 Vectormath::Aos::prependScale (const Vector3 &scaleVec, const Matrix3 &mat)
 
const Matrix3 Vectormath::Aos::mulPerElem (const Matrix3 &mat0, const Matrix3 &mat1)
 
const Matrix3 Vectormath::Aos::absPerElem (const Matrix3 &mat)
 
const Matrix3 Vectormath::Aos::transpose (const Matrix3 &mat)
 
const Matrix3 Vectormath::Aos::inverse (const Matrix3 &mat)
 
float Vectormath::Aos::determinant (const Matrix3 &mat)
 
const Matrix3 Vectormath::Aos::select (const Matrix3 &mat0, const Matrix3 &mat1, bool select1)
 
const Matrix4 Vectormath::Aos::operator* (float scalar, const Matrix4 &mat)
 
const Matrix4 Vectormath::Aos::appendScale (const Matrix4 &mat, const Vector3 &scaleVec)
 
const Matrix4 Vectormath::Aos::prependScale (const Vector3 &scaleVec, const Matrix4 &mat)
 
const Matrix4 Vectormath::Aos::mulPerElem (const Matrix4 &mat0, const Matrix4 &mat1)
 
const Matrix4 Vectormath::Aos::absPerElem (const Matrix4 &mat)
 
const Matrix4 Vectormath::Aos::transpose (const Matrix4 &mat)
 
const Matrix4 Vectormath::Aos::inverse (const Matrix4 &mat)
 
const Matrix4 Vectormath::Aos::affineInverse (const Matrix4 &mat)
 
const Matrix4 Vectormath::Aos::orthoInverse (const Matrix4 &mat)
 
float Vectormath::Aos::determinant (const Matrix4 &mat)
 
const Matrix4 Vectormath::Aos::select (const Matrix4 &mat0, const Matrix4 &mat1, bool select1)
 
const Transform3 Vectormath::Aos::appendScale (const Transform3 &tfrm, const Vector3 &scaleVec)
 
const Transform3 Vectormath::Aos::prependScale (const Vector3 &scaleVec, const Transform3 &tfrm)
 
const Transform3 Vectormath::Aos::mulPerElem (const Transform3 &tfrm0, const Transform3 &tfrm1)
 
const Transform3 Vectormath::Aos::absPerElem (const Transform3 &tfrm)
 
const Transform3 Vectormath::Aos::inverse (const Transform3 &tfrm)
 
const Transform3 Vectormath::Aos::orthoInverse (const Transform3 &tfrm)
 
const Transform3 Vectormath::Aos::select (const Transform3 &tfrm0, const Transform3 &tfrm1, bool select1)