Drawing3d documented Class Library

MNDevice.drawTriangle Method

Draws a triangle with Normals and texture, which is given by TexturePos

[Visual Basic]
Public Overridable Sub drawTriangle( _
   ByVal t As Triangle, _
   ByVal Normals As Triangle, _
   ByVal TexturePos As Triangle _
)
[C#]
public virtual void drawTriangle(
   Triangle t,
   Triangle Normals,
   Triangle TexturePos
);

Parameters

t
Triangle, which will bee drawn
Normals
Normals for every edgepoint
TexturePos
Holds the texture information

Remarks

It is not necessary to override this method, but the most graphic engine have very fast calls to draw a triangle. So it is better to override it.

See Also

MNDevice Class | Drawing3d Namespace