コード例 #1
0
ファイル: Sphere.cs プロジェクト: sinclairzx81/vector-cs
        public Sphere(Vector3 center, float radius, Surface surface)
        {
            this.center = center;

            this.radius = radius;

            this.radius2 = radius * 2;

            this.surface = surface;
        }
コード例 #2
0
ファイル: Plane.cs プロジェクト: sinclairzx81/vector-cs
 public Plane(Vector3 norm, float offset, Surface surface)
 {
     this.norm = norm;
     this.offset = offset;
     this.surface = surface;
 }