Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
MatrixUtils.cs
浏览该文件的文档.
1using Engine;
2
3namespace Game {
4 public class MatrixUtils {
5 public static Matrix CreateScaleTranslation(float sx, float sy, float tx, float ty) => new(
6 sx,
7 0f,
8 0f,
9 0f,
10 0f,
11 sy,
12 0f,
13 0f,
14 0f,
15 0f,
16 1f,
17 0f,
18 tx,
19 ty,
20 0f,
21 1f
22 );
23 }
24}
static Matrix CreateScaleTranslation(float sx, float sy, float tx, float ty)