C# 클래스 NewTOAPIA.GL.GLPerspectiveCamera

상속: GLProjectionCamera
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 메소드들

메소드 설명
GLPerspectiveCamera ( GraphicsInterface gi ) : System
OnRealize ( ) : void
SetAspectRatio ( float ratio ) : void
SetFieldOfView ( float fov ) : void

비공개 메소드들

메소드 설명
Perspective ( double fovY, double aspect, double zNear, double zFar ) : void

This routine replaces the Glu.Perspective call. It just calculates the viewing frustum directly, and then calls the glFrustum function. Why bother? So we don't need to rely on the glu parts of the library.

메소드 상세

GLPerspectiveCamera() 공개 메소드

public GLPerspectiveCamera ( GraphicsInterface gi ) : System
gi GraphicsInterface
리턴 System

OnRealize() 공개 메소드

public OnRealize ( ) : void
리턴 void

SetAspectRatio() 공개 메소드

public SetAspectRatio ( float ratio ) : void
ratio float
리턴 void

SetFieldOfView() 공개 메소드

public SetFieldOfView ( float fov ) : void
fov float
리턴 void