【发布时间】:2015-01-19 13:03:46
【问题描述】:
我在 SlimDX 中工作,我从 x、y、z 坐标开始。我将右手坐标系中的一个点转换为垂直正位置 Z 为右手 y 垂直正(DirectX)。为了使旋转更容易,我将我的点转换为 4x4 矩阵。现在我需要反转 y 坐标。矩阵形式时如何仅反转 y 坐标?
Matrix finalMatrix = originalMatrix *
Matrix.RotationX(MathHelper.ToRadians(85f)) *
Matrix.RotationY(MathHelper.ToRadians(-.075f)) *
Matrix.RotationZ(MathHelper.ToRadians(55f)) ;
【问题讨论】: