Exemplo n.º 1
0
        public void test_can_set_size_from_parent()
        {
            var instance = new nBox();

              var quad = new nQuad();
              quad.Data.Points.Set(new float[8] { 1, 1, 1, 0, 0, 0, 0, 1 });

              instance.SetParent(quad.Data);
        }
Exemplo n.º 2
0
 public void test_can_set_size_from_center()
 {
     var instance = new nBox();
       instance.SetSize(0f, 0f, 10f, 10f);
 }
Exemplo n.º 3
0
 public void test_can_set_size_from_corners()
 {
     var instance = new nBox();
       instance.SetCorners(-10f, -10f, 10f, 10f);
 }
Exemplo n.º 4
0
 public void test_can_create_instance()
 {
     var instance = new nBox();
       instance.ShouldNotBe(null);
 }