Exemple #1
0
 public BlockModel(string id, Aabb blockCollision)
 {
     _id             = id;
     _blockCollision = blockCollision;
     _lineVao        = new LineVertexArrayObject(new[] { blockCollision });
 }
Exemple #2
0
 public static void Load()
 {
     _vao    = new LineVertexArrayObject(new Vector3[0], new int[0]);
     _loaded = true;
 }