C# 클래스 Glare.Sphere3f

A sphere definition, which has a position and radius.
파일 보기 프로젝트 열기: Burton-Radons/Alexandria

공개 프로퍼티들

프로퍼티 타입 설명
Position Vector3f
Radius System.Single

공개 메소드들

메소드 설명
Sphere3f ( System.Single radius ) : System

Initialise a sphere centred at origin.

Sphere3f ( Vector3f position, System.Single radius ) : System

Initialise the Sphere3d.

메소드 상세

Sphere3f() 공개 메소드

Initialise a sphere centred at origin.
public Sphere3f ( System.Single radius ) : System
radius System.Single The radius of the .
리턴 System

Sphere3f() 공개 메소드

Initialise the Sphere3d.
public Sphere3f ( Vector3f position, System.Single radius ) : System
position Vector3f The centre of the .
radius System.Single The radius of the .
리턴 System

프로퍼티 상세

Position 공개적으로 프로퍼티

Get or set the centre of the Sphere3d.
public Vector3f Position
리턴 Vector3f

Radius 공개적으로 프로퍼티

Get or set the radius of the Sphere3d.
public Single,System Radius
리턴 System.Single