C# Class Infiniminer.CylinderDrawingComponent

显示文件 Open project: bobisfat/Infiniminer

Public Methods

Method Description
AddLine ( Vector3 start, Vector3 end ) : void
Draw ( Matrix View, Matrix Projection ) : void
Load ( Microsoft.Xna.Framework.Content.ContentManager content, GraphicsDevice gDevice ) : void

Method Details

AddLine() public static method

public static AddLine ( Vector3 start, Vector3 end ) : void
start Vector3
end Vector3
return void

Draw() public static method

public static Draw ( Matrix View, Matrix Projection ) : void
View Matrix
Projection Matrix
return void

Load() public static method

public static Load ( Microsoft.Xna.Framework.Content.ContentManager content, GraphicsDevice gDevice ) : void
content Microsoft.Xna.Framework.Content.ContentManager
gDevice GraphicsDevice
return void