|
Tri | |
Tri x1, y1, x2, y2, y3, y3 | |
Parameters: x1 = X coordinate of point 1 y1 = Y coordinate of point 1 x2 = X coordinate of point 2 y2 = Y coordinate of point 2 y3 = X coordinate of point 3 y3 = Y coordinate of point 3 |
|
Returns: NONE | |
Tri draws a filled triangle to the current surface using the current INK colour and drawing mode. FACTS: * Tri draws pixels in the current INK colour. PlayBASIC sets the default INK colour to RGB(255,255,255) (white). You can change this at any time by using the INK command. * Tri draws pixels using the current InkMode. * Tri will render to the current surface, except when the user has either CaptureToScene, or CaptureToWorld are activated. In either situation the drawing request will be added to the scene or world queues. Mini Tutorial: This example draws two filled triangles to the screen.
|
Related Info: | GouraudQuad | GouraudStripH | GouraudStripV | GouraudTri | Quad | QuadC | ShadeBox | TextureQuad | TextureStripH | TextureStripV | TextureTri | TriC : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |