C# Class Infiniminer.GeometryDebugger

Mostrar archivo Open project: bobisfat/Infiniminer

Public Properties

Property Type Description
ProjectionMatrix Matrix
ViewMatrix Matrix

Public Methods

Method Description
ConstructSphereVertices ( Vector3 position, float radius, Color color ) : Microsoft.Xna.Framework.Graphics.VertexPositionColor[]
DrawLine ( Vector3 posStart, Vector3 posEnd, Color color, short points ) : void
DrawSphere ( Vector3 position, float radius, Color color ) : void
GeometryDebugger ( GraphicsDevice graphicsDevice, Effect effect ) : System

Method Details

ConstructSphereVertices() public method

public ConstructSphereVertices ( Vector3 position, float radius, Color color ) : Microsoft.Xna.Framework.Graphics.VertexPositionColor[]
position Vector3
radius float
color Color
return Microsoft.Xna.Framework.Graphics.VertexPositionColor[]

DrawLine() public method

public DrawLine ( Vector3 posStart, Vector3 posEnd, Color color, short points ) : void
posStart Vector3
posEnd Vector3
color Color
points short
return void

DrawSphere() public method

public DrawSphere ( Vector3 position, float radius, Color color ) : void
position Vector3
radius float
color Color
return void

GeometryDebugger() public method

public GeometryDebugger ( GraphicsDevice graphicsDevice, Effect effect ) : System
graphicsDevice GraphicsDevice
effect Microsoft.Xna.Framework.Graphics.Effect
return System

Property Details

ProjectionMatrix public_oe property

public Matrix ProjectionMatrix
return Matrix

ViewMatrix public_oe property

public Matrix ViewMatrix
return Matrix