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.c File Reference

#include "SoPolygon.h"
#include "SoDebug.h"

Functions

SoVector2SoPolygonGetTextureCoordinates (SoPolygon *a_This)
 To get the array of texture coordinates of the polygon.

u32 SoPolygonGetVertexIndex (SoPolygon *a_This, u32 a_Index)
 To get a single vertex from the polygon.

u32 SoPolygonGetNumVertices (SoPolygon *a_This)
 To get the number of vertices in the polygon.

u32 SoPolygonGetPaletteIndex (SoPolygon *a_This)
 To get the color of the polygon.

void SoPolygonSetPaletteIndex (SoPolygon *a_This, u32 a_PaletteIndex)
 To set the color of the polygon.


Detailed Description

Copyright (C) 2002 by the SGADE authors For conditions of distribution and use, see copyright notice in SoLicense.txt

Author:
Jaap Suter
Date:
June 20 2001
See the SoPolygon module for more information.


Copyright 2002 by the SGADE authors. See SoLicense.h or Visit the SGADE page for more information.