C# 클래스 ManicDigger.FrustumCulling

상속: IFrustumCulling
파일 보기 프로젝트 열기: GlennMR/800Craft-Client 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CalcFrustumEquations ( ) : void

Calculating the frustum planes.

From the current OpenGL modelview and projection matrices, calculate the frustum plane equations (Ax+By+Cz+D=0, n=(A,B,C)) The equations can then be used to see on which side points are.

SphereInFrustum ( float x, float y, float z, float radius ) : bool

메소드 상세

CalcFrustumEquations() 공개 메소드

Calculating the frustum planes.
From the current OpenGL modelview and projection matrices, calculate the frustum plane equations (Ax+By+Cz+D=0, n=(A,B,C)) The equations can then be used to see on which side points are.
public CalcFrustumEquations ( ) : void
리턴 void

SphereInFrustum() 공개 메소드

public SphereInFrustum ( float x, float y, float z, float radius ) : bool
x float
y float
z float
radius float
리턴 bool