9 public static Dictionary<string, List<Vector3>>
FacesDic = [];
10 public static Dictionary<string, Vector3>
NormalDic = [];
16 FacesDic.Add(
"south", [
new Vector3(1, 0, 1),
Vector3.
UnitZ,
new Vector3(0, 1, 1),
new Vector3(1, 1, 1)]);
17 FacesDic.Add(
"east", [
new Vector3(1, 0, 0),
new Vector3(1, 0, 1),
new Vector3(1, 1, 1),
new Vector3(1, 1, 0)]);
88 if (obj is
double v) {
95 throw new Exception($
"错误的数据转换,不能将{obj.GetType().Name}转换为float");
98 public static JsonModel Load(Stream stream) =>
throw new Exception(
"很抱歉,JsonModel功能暂时下线");
Vector3 FirstPersonOffset
Vector3 FirstPersonRotation
static Dictionary< string, List< Vector3 > > FacesDic
static Dictionary< float, List< int > > TextureRotate
static Dictionary< string, List< int > > FacedirecDic
static Dictionary< string, Vector3 > NormalDic
static float ObjConvertFloat(object obj)
static JsonModel Load(Stream stream)
static readonly Vector3 One
static readonly Vector3 Zero
static readonly Vector3 UnitX
static readonly Vector3 UnitY
static readonly Vector3 UnitZ