C# 클래스 ShowIt.AABBFaceMesh

This object represents a single wall of a Axis Aligned Bounding Box
상속: Mesh3D
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA 1 사용 예제들

공개 메소드들

메소드 설명
ApplyTransform ( Transformation transform ) : void
CreateFace ( GraphicsInterface gi, Vector3D roomSize, AABBFace whichWall, Resolution res, GLTexture texture ) : AABBFaceMesh

Create a mesh object that represents the wall.

PositionWall ( AABBFace whichFace ) : void
Render ( GraphicsInterface GI ) : void

비공개 메소드들

메소드 설명
AABBFaceMesh ( GraphicsInterface gi, Vector3D boundary, AABBFace whichFace ) : System

메소드 상세

ApplyTransform() 공개 메소드

public ApplyTransform ( Transformation transform ) : void
transform Transformation
리턴 void

CreateFace() 공개 정적인 메소드

Create a mesh object that represents the wall.
public static CreateFace ( GraphicsInterface gi, Vector3D roomSize, AABBFace whichWall, Resolution res, GLTexture texture ) : AABBFaceMesh
gi NewTOAPIA.GL.GraphicsInterface
roomSize Vector3D The size of the room
whichWall AABBFace Which wall of the room are we creating
res Resolution The Resolution of the mesh, meaning, the number of rows and columns of quads to create.
texture NewTOAPIA.GL.GLTexture
리턴 AABBFaceMesh

PositionWall() 공개 메소드

public PositionWall ( AABBFace whichFace ) : void
whichFace AABBFace
리턴 void

Render() 공개 메소드

public Render ( GraphicsInterface GI ) : void
GI NewTOAPIA.GL.GraphicsInterface
리턴 void