C# Class Axiom.Demos.Triangle

A class for rendering a simple triangle with colored vertices.
Inheritance: Axiom.Graphics.SimpleRenderable
Exibir arquivo Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
GetSquaredViewDepth ( Camera camera ) : float

Triangle ( Vector3 v1, Vector3 v2, Vector3 v3, ColorEx c1, ColorEx c2, ColorEx c3 ) : System

Method Details

GetSquaredViewDepth() public method

public GetSquaredViewDepth ( Camera camera ) : float
camera Axiom.Core.Camera
return float

Triangle() public method

public Triangle ( Vector3 v1, Vector3 v2, Vector3 v3, ColorEx c1, ColorEx c2, ColorEx c3 ) : System
v1 Vector3
v2 Vector3
v3 Vector3
c1 ColorEx
c2 ColorEx
c3 ColorEx
return System