cocos2d-x 3.0 |


- 文件列表 - 文件成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
Matrix.h 文件参考
#include "math/Vector3.h"
#include "math/Vector4.h"
#include "Matrix.inl"
## 类 | |
class | Mat4 |
Copyright 2013 BlackBerry Inc. 更多… | |
## 函数 | |
Vec3 & | operator*= (Vec3 &v, const Mat4 &m) |
Transforms the given vector by the given matrix. 更多… | |
const Vec3 | operator* (const Mat4 &m, const Vec3 &v) |
Transforms the given vector by the given matrix. 更多… | |
Vec4 & | operator*= (Vec4 &v, const Mat4 &m) |
Transforms the given vector by the given matrix. 更多… | |
const Vec4 | operator* (const Mat4 &m, const Vec4 &v) |
Transforms the given vector by the given matrix. 更多… | |
函数说明
| inline |
Transforms the given vector by the given matrix.
Note: this treats the given vector as a vector and not as a point.
- 参数
mThe matrix to transform by. vThe vector to transform.
- 返回
- The resulting transformed vector.
| inline |
Transforms the given vector by the given matrix.
Note: this treats the given vector as a vector and not as a point.
- 参数
mThe matrix to transform by. vThe vector to transform.
- 返回
- The resulting transformed vector.
| inline |
Transforms the given vector by the given matrix.
Note: this treats the given vector as a vector and not as a point.
- 参数
vThe vector to transform. mThe matrix to transform by.
- 返回
- This vector, after the transformation occurs.
| inline |
Transforms the given vector by the given matrix.
Note: this treats the given vector as a vector and not as a point.
- 参数
vThe vector to transform. mThe matrix to transform by.
- 返回
- This vector, after the transformation occurs.