Added GetRotateMatrix() in Matrix.h
This commit is contained in:
@@ -215,6 +215,8 @@ namespace hgl
|
||||
return root*child;
|
||||
}
|
||||
|
||||
const Matrix4f GetRotateMatrix(const Vector3f &world_position,const Vector3f &cur_direction,const Vector3f &new_direction);
|
||||
|
||||
/**
|
||||
* 带误差的比较两个浮点矩阵是否相等
|
||||
* @param m1 矩阵1
|
||||
|
Reference in New Issue
Block a user