![]() |
TrinityCore
|
#include "G3D/platform.h"#include "G3D/g3dmath.h"#include "G3D/Vector2.h"#include "G3D/Vector3.h"#include "G3D/Vector4.h"#include "G3D/Matrix3.h"#include "G3D/Matrix4.h"#include "G3D/Color1.h"#include "G3D/Color3.h"#include "G3D/Color4.h"
Include dependency graph for vectorMath.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| G3D | |
Functions | |
| Matrix4 | G3D::mul (const Matrix4 &a, const Matrix4 &b) |
| Vector4 | G3D::mul (const Matrix4 &m, const Vector4 &v) |
| Vector3 | G3D::mul (const Matrix3 &m, const Vector3 &v) |
| Matrix3 | G3D::mul (const Matrix3 &a, const Matrix3 &b) |
| float | G3D::dot (const Vector2 &a, const Vector2 &b) |
| float | G3D::dot (const Vector3 &a, const Vector3 &b) |
| float | G3D::dot (const Vector4 &a, const Vector4 &b) |
| Vector2 | G3D::normalize (const Vector2 &v) |
| Vector3 | G3D::normalize (const Vector3 &v) |
| Vector4 | G3D::normalize (const Vector4 &v) |
| Vector2 | G3D::abs (const Vector2 &v) |
| Vector3 | G3D::abs (const Vector3 &v) |
| Vector4 | G3D::abs (const Vector4 &v) |
| bool | G3D::all (const Vector2 &v) |
| bool | G3D::all (const Vector3 &v) |
| bool | G3D::all (const Vector4 &v) |
| bool | G3D::any (const Vector2 &v) |
| bool | G3D::any (const Vector3 &v) |
| bool | G3D::any (const Vector4 &v) |
| Vector2 | G3D::clamp (const Vector2 &v, const Vector2 &a, const Vector2 &b) |
| Vector3 | G3D::clamp (const Vector3 &v, const Vector3 &a, const Vector3 &b) |
| Vector4 | G3D::clamp (const Vector4 &v, const Vector4 &a, const Vector4 &b) |
| Vector2 | G3D::lerp (const Vector2 &v1, const Vector2 &v2, float f) |
| Vector3 | G3D::lerp (const Vector3 &v1, const Vector3 &v2, float f) |
| Vector4 | G3D::lerp (const Vector4 &v1, const Vector4 &v2, float f) |
| Color1 | G3D::lerp (const Color1 &v1, const Color1 &v2, float f) |
| Color3 | G3D::lerp (const Color3 &v1, const Color3 &v2, float f) |
| Color4 | G3D::lerp (const Color4 &v1, const Color4 &v2, float f) |
| Vector3 | G3D::cross (const Vector3 &v1, const Vector3 &v2) |
| double | G3D::determinant (const Matrix3 &m) |
| double | G3D::determinant (const Matrix4 &m) |
| Vector2 | G3D::min (const Vector2 &v1, const Vector2 &v2) |
| Vector3 | G3D::min (const Vector3 &v1, const Vector3 &v2) |
| Vector4 | G3D::min (const Vector4 &v1, const Vector4 &v2) |
| Color3 | G3D::min (const Color3 &v1, const Color3 &v2) |
| Color4 | G3D::min (const Color4 &v1, const Color4 &v2) |
| Vector2 | G3D::max (const Vector2 &v1, const Vector2 &v2) |
| Vector3 | G3D::max (const Vector3 &v1, const Vector3 &v2) |
| Vector4 | G3D::max (const Vector4 &v1, const Vector4 &v2) |
| Color3 | G3D::max (const Color3 &v1, const Color3 &v2) |
| Color4 | G3D::max (const Color4 &v1, const Color4 &v2) |
| Vector2 | G3D::sign (const Vector2 &v) |
| Vector3 | G3D::sign (const Vector3 &v) |
| Vector4 | G3D::sign (const Vector4 &v) |
| float | G3D::length (float v) |
| float | G3D::length (const Vector2 &v) |
| float | G3D::length (const Vector3 &v) |
| float | G3D::length (const Vector4 &v) |
| Color3 | G3D::log (const Color3 &c) |
Function aliases for popular vector methods.
Morgan McGuire, http://graphics.cs.williams.edu
: 2001-06-02 : 2004-02-02 Copyright 2000-2004, Morgan McGuire. All rights reserved.
1.8.8