Classes | Defines | Functions

OvglMath.h File Reference

None. More...

Go to the source code of this file.

Classes

class  Ovgl::Vector2
class  Ovgl::Vector3
class  Ovgl::Vector4
class  Ovgl::Matrix33
class  Ovgl::Matrix44

Defines

#define OvglPi   (3.14159265358979323846)

Functions

Matrix44 Ovgl::MatrixIdentity ()
Matrix44 Ovgl::MatrixInverse (Vector4 *in_vec, Matrix44 *in_mat)
Matrix44 Ovgl::MatrixScaling (float x, float y, float z)
Matrix44 Ovgl::MatrixTranslation (float x, float y, float z)
Matrix44 Ovgl::MatrixRotationX (float angle)
Matrix44 Ovgl::MatrixRotationY (float angle)
Matrix44 Ovgl::MatrixRotationZ (float angle)
Matrix44 Ovgl::MatrixRotationEuler (float yaw, float pitch, float roll)
Matrix44 Ovgl::MatrixRotationAxis (Vector3 *axis, float angle)
Matrix44 Ovgl::MatrixRotationQuaternion (Vector4 *q)
Matrix44 Ovgl::MatrixPerspectiveLH (float ViewWidth, float ViewHeight, float NearZ, float FarZ)
Vector4 Ovgl::QuaternionRotationMatrix (Matrix44 *matrix)
Vector4 Ovgl::QuaternionRotationAxis (Vector3 *axis, float angle)
Vector4 Ovgl::QuaternionRotationEuler (float yaw, float pitch, float roll)
Vector4 Ovgl::Vector4Set (float w, float x, float y, float z)
Vector4 Ovgl::Vector4Lerp (Vector4 &vec1, Vector4 &vec2, float u)
Vector3 Ovgl::Vector3Set (float x, float y, float z)
Vector3 Ovgl::Vector3Cross (Vector3 *vec1, Vector3 *vec2)
Vector3 Ovgl::Vector3Transform (Vector3 *vector, Matrix44 *matrix)
Vector3 Ovgl::Vector3Normalize (Vector3 *vector)
Vector3 Ovgl::Vector3Center (std::vector< Vector3 > &vertices)
Vector2 Ovgl::Vector2Set (float x, float y)
float Ovgl::Distance (Vector3 *vector1, Vector3 *vector2)
float Ovgl::Vector3Dot (Vector3 *vec1, Vector3 *vec2)
float Ovgl::Lerp (float vec1, float vec2, float u)
float Ovgl::DegToRad (float degree)

Detailed Description

None.

Copyright 2011 Steven Batchelor

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

 All Classes Files Functions Variables