Exemplo n.º 1
0
 public static Matrix CreateBillboard(
     Vector3 objectPosition,
     Vector3 cameraPosition,
     Vector3 cameraUp,
     Vector3?cameraForward)
 {
     return(new Matrix(Matrix4x4.CreateBillboard(objectPosition, cameraPosition, cameraUp, cameraForward)));
 }