CMGDK r49-rc2
|
名字空间 | |
namespace | hgl |
__MAKE_HGL__&&!__MAKE_PLUGIN__ | |
类型定义 | |
typedef cml::vector2i | hgl::Vector2i |
typedef cml::vector3i | hgl::Vector3i |
typedef cml::vector4i | hgl::Vector4i |
typedef cml::vector2f | hgl::Vector2f |
typedef cml::vector3f | hgl::Vector3f |
typedef cml::vector4f | hgl::Vector4f |
typedef cml::matrix33f_c | hgl::Matrix3f |
typedef cml::matrix44f_c | hgl::Matrix4f |
函数 | |
Matrix4f | hgl::identity () |
Matrix4f | hgl::inverse (const Matrix4f &m) |
Matrix4f | hgl::perspective (float fovy, float aspect, float znear, float zfar) |
Matrix4f | hgl::ortho2 (float width, float height, float znear=0, float zfar=1) |
Matrix4f | hgl::ortho4 (float left, float right, float bottom, float top, float znear=0, float zfar=1) |
Matrix4f | hgl::lookAt (const cml::vector3f &eye, const cml::vector3f &target, const cml::vector3f &up) |
Matrix4f | hgl::translate (const cml::vector3f &v) |
Matrix4f | hgl::translate (float x, float y, float z) |
Matrix4f | hgl::scale (const cml::vector3f &v) |
Matrix4f | hgl::scale (float x, float y, float z) |
Matrix4f | hgl::scale (float s) |
Matrix4f | hgl::rotate (float angle, const cml::vector3f &axis) |
Matrix4f | hgl::rotate (float angle, float x, float y, float z) |
Matrix4f | hgl::rotate (float angle, const cml::vector4f &axis) |
cml::vector3f | hgl::normalize (const cml::vector3f &v) |
cml::vector3f | hgl::cross (const cml::vector3f &v1, const cml::vector3f &v2) |
float | hgl::dot (const cml::vector3f &v1, const cml::vector3f &v2) |
float | hgl::length_squared (const cml::vector2f &v1, const cml::vector2f &v2) |
float | hgl::length (const cml::vector2f &v1, const cml::vector2f &v2) |
float | hgl::length_squared (const cml::vector3f &v1, const cml::vector3f &v2) |
float | hgl::length (const cml::vector3f &v1, const cml::vector3f &v2) |
cml::vector2f | hgl::to (const cml::vector2f &start, const cml::vector2f &end, float pos) |
cml::vector3f | hgl::to (const cml::vector3f &start, const cml::vector3f &end, float pos) |