glm::mat4 matrix_t = glm::transpose(glm::mat4{
1.0f, 0.0f, 0.0f, -tx,
0.0f, 1.0f, 0.0f, -ty,
0.0f, 0.0f, 1.0f, -tz,
0.0f, 0.0f, 0.0f, 1.0f,
});
Unity计算位置平移矩阵
最新推荐文章于 2024-08-30 06:00:00 发布