The SGADE Documentation

the SGADE The Socrates Gameboy Advance Development Engine

The SGADE is a development library for the Nintendo Gameboy Advance. It's free for all uses and is distributed without guarantees. For more information visit the SGADE page.


Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

SoPolygon Struct Reference
[SoPolygon]

Polygon structure definition. More...

#include <SoPolygon.h>


Data Fields

u8 m_NumVertices
 Number of vertices in the polygon.

u16m_VertexIndices
u8 m_PaletteIndex
 Palette index of the polygon.

SoVector2m_TextureCoordinates
 Array of texture coordinates of the polygon.


Detailed Description

Polygon structure definition.

Note that all its attributes are private. Use the SoPolygon methods to act upon these attributes.


Field Documentation

u8 SoPolygon::m_NumVertices
 

Number of vertices in the polygon.

For internal use only.

u8 SoPolygon::m_PaletteIndex
 

Palette index of the polygon.

For internal use only.

SoVector2* SoPolygon::m_TextureCoordinates
 

Array of texture coordinates of the polygon.

For internal use only.

u16* SoPolygon::m_VertexIndices
 

For internal use only.

Pointer to an array of indices into an array of vertices (often located in the SoMesh object).


The documentation for this struct was generated from the following file:
Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.