-1

谁能建议如何在 Windows 8 平板电脑中为增强现实应用程序创建“世界矩阵”。windows phone 已经存在以下代码:

Matrix world = Matrix.CreateWorld(Vector3, Vector3,  Vector3);

与 Windows Phone 不同,Windows 8 平板电脑不支持where CreateWorldis from which。Microsoft.XNA.Framework.Matrix

4

1 回答 1

0

这样的事情应该让你开始。

Vector3 position = new Vector3(0,0,0);
Vector3 forward = new Vector3(1,0,0);
Vector3 up = new Vector3(0,1,0);
Matrix world = Matrix.CreateWorld(position, forward, up);
于 2013-01-04T06:27:55.183 回答