Example #1
0
        public Sphere(Vector3 center, float radius, Surface surface)
        {
            this.center = center;

            this.radius = radius;

            this.radius2 = radius * 2;

            this.surface = surface;
        }
Example #2
0
 public Plane(Vector3 norm, float offset, Surface surface)
 {
     this.norm = norm;
     this.offset = offset;
     this.surface = surface;
 }