C# Class ShowIt.AABBFaceMesh

This object represents a single wall of a Axis Aligned Bounding Box
Inheritance: Mesh3D
Afficher le fichier Open project: Wiladams/NewTOAPIA Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
AABBFaceMesh ( GraphicsInterface gi, Vector3D boundary, AABBFace whichFace ) : System

Method Details

ApplyTransform() public méthode

public ApplyTransform ( Transformation transform ) : void
transform Transformation
Résultat void

CreateFace() public static méthode

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
Résultat AABBFaceMesh

PositionWall() public méthode

public PositionWall ( AABBFace whichFace ) : void
whichFace AABBFace
Résultat void

Render() public méthode

public Render ( GraphicsInterface GI ) : void
GI NewTOAPIA.GL.GraphicsInterface
Résultat void