static EnemyTemplate() { var vertices = new[] { new Vector3(0.03125f, 0.9f, 0), new Vector3(0.34375f, 1, 0), new Vector3(0.84375f, 0.65265f, 0), new Vector3(1, 0, 0), new Vector3(0.78125f, -0.71875f, 0), new Vector3(0.25f, -1, 0), new Vector3(-0.3125f, -0.84375f, 0), new Vector3(-1, -0.65625f, 0), new Vector3(-0.84375f, 0.5f, 0), new Vector3(-0.9375f, 0.625f, 0), new Vector3(-0.75f, 0.8125f, 0), new Vector3(-0.5625f, 1, 0) }; EnemyModel = new Model(vertices, Enumerable.Range(0, vertices.Length), 32); }
static PlayerTemplate() { var vertices = new[] { new Vector3(0, 1, 0), new Vector3(0.75f, -1, 0), new Vector3(0, -0.5f, 0), new Vector3(-0.75f, -1, 0) }; var indices = new[] { 0, 1, 2, 3, 0 }; Model = new Model(vertices, indices, 13); }