C# Class DemoLib.FloatingCageScene

Inheritance: Scene
Exibir arquivo Open project: mono/DemoLib Class Usage Examples

Public Methods

Method Description
AdvanceFrame ( ) : bool
FloatingCageScene ( ) : System
RenderFrame ( ) : void
Reset ( int width, int height ) : void
Resize ( int width, int height ) : void

Private Methods

Method Description
DrawCage ( byte colour, float verts, float normv, bool swap ) : void
GetCageId ( byte colour ) : int
InitCallLists ( ) : void
SwapVerts ( float &verts, int i, int v0, int v1 ) : void

Method Details

AdvanceFrame() public method

public AdvanceFrame ( ) : bool
return bool

FloatingCageScene() public method

public FloatingCageScene ( ) : System
return System

RenderFrame() public method

public RenderFrame ( ) : void
return void

Reset() public method

public Reset ( int width, int height ) : void
width int
height int
return void

Resize() public method

public Resize ( int width, int height ) : void
width int
height int
return void