[CHG] Fixed some typographical errors.

This commit is contained in:
Crayon2000 2010-11-05 22:12:51 +00:00
parent 6d65703f74
commit 78a213bd19
5 changed files with 15 additions and 15 deletions

View file

@ -401,8 +401,8 @@ void GRRLIB_DrawTorus(f32 r, f32 R, int nsides, int rings, bool filled, u32 col)
/** /**
* Draw a sphere (with normal). * Draw a sphere (with normal).
* @param r Radius of the sphere. * @param r Radius of the sphere.
* @param lats Number of lattitudes. * @param lats Number of latitude.
* @param longs Number of longitutes. * @param longs Number of longitudes.
* @param filled Wired or not. * @param filled Wired or not.
* @param col Color of the sphere. * @param col Color of the sphere.
*/ */
@ -501,7 +501,7 @@ void GRRLIB_DrawCube(f32 size, bool filled, u32 col) {
* Draw a cylinder (with normal). * Draw a cylinder (with normal).
* @param r Radius of the cylinder. * @param r Radius of the cylinder.
* @param h High of the cylinder. * @param h High of the cylinder.
* @param d Dencity of slice. * @param d Density of slice.
* @param filled Wired or not. * @param filled Wired or not.
* @param col Color of the cylinder. * @param col Color of the cylinder.
*/ */
@ -552,7 +552,7 @@ void GRRLIB_DrawCylinder(f32 r, f32 h, int d, bool filled, u32 col) {
* Draw a cone (with normal). * Draw a cone (with normal).
* @param r Radius of the cone. * @param r Radius of the cone.
* @param h High of the cone. * @param h High of the cone.
* @param d Dencity of slice. * @param d Density of slice.
* @param filled Wired or not. * @param filled Wired or not.
* @param col Color of the cone. * @param col Color of the cone.
*/ */
@ -588,10 +588,10 @@ void GRRLIB_DrawCone(f32 r, f32 h, int d, bool filled, u32 col) {
} }
/** /**
* Draw a Tesselated pannel (with normal). * Draw a Tesselated panel (with normal).
* @param w Width of the panel. * @param w Width of the panel.
* @param wstep Size of width slices. * @param wstep Size of width slices.
* @param h Height of the pannel. * @param h Height of the panel.
* @param hstep Size the de height slices. * @param hstep Size the de height slices.
* @param filled Wired or not. * @param filled Wired or not.
* @param col Color in RGBA format. * @param col Color in RGBA format.
@ -621,7 +621,7 @@ void GRRLIB_DrawTessPanel(f32 w, f32 wstep, f32 h, f32 hstep, bool filled, u32 c
/** /**
* Set ambient color. * Set ambient color.
* When no diffuse ligth is shinig on a object, the color is equal to ambient color. * When no diffuse light is shining on a object, the color is equal to ambient color.
* @param ambientcolor Ambient color in RGBA format. * @param ambientcolor Ambient color in RGBA format.
*/ */
void GRRLIB_SetLightAmbient(u32 ambientcolor) { void GRRLIB_SetLightAmbient(u32 ambientcolor) {

View file

@ -41,7 +41,7 @@ static bool is_setup = false; // To control entry and exit
/** /**
* Initialize GRRLIB. Call this once at the beginning your code. * Initialize GRRLIB. Call this once at the beginning your code.
* @return A integer representating a code: * @return A integer representing a code:
* - 0 : The operation completed successfully. * - 0 : The operation completed successfully.
* - -1 : Not enough memory is available to initialize GRRLIB. * - -1 : Not enough memory is available to initialize GRRLIB.
* - -2 : Failed to add the fat device driver to the devoptab. * - -2 : Failed to add the fat device driver to the devoptab.

View file

@ -29,7 +29,7 @@ THE SOFTWARE.
* @param data Pointer-to-your-pointer. * @param data Pointer-to-your-pointer.
* Ie. { u8 *data; GRRLIB_LoadFile("file", &data); }. * Ie. { u8 *data; GRRLIB_LoadFile("file", &data); }.
* It is your responsibility to free the memory allocated by this function. * It is your responsibility to free the memory allocated by this function.
* @return A integer representating a code: * @return A integer representing a code:
* - 0 : EmptyFile. * - 0 : EmptyFile.
* - -1 : FileNotFound. * - -1 : FileNotFound.
* - -2 : OutOfMemory. * - -2 : OutOfMemory.

View file

@ -26,7 +26,7 @@ THE SOFTWARE.
*/ */
/** /**
* @defgroup AllFunc Everything in GRRLIB * @defgroup AllFunc Everything in GRRLIB
* This is the complete list of funtions, structures, defines, typedefs, enumerations and variables you may want to used to make your homebrew with GRRLIB. * This is the complete list of functions, structures, defines, typedefs, enumerations and variables you may want to used to make your homebrew with GRRLIB.
* You simply need to include grrlib.h in your project to have access to all of these. * You simply need to include grrlib.h in your project to have access to all of these.
* @{ * @{
*/ */
@ -60,10 +60,10 @@ typedef unsigned int uint;/**< The uint keyword signifies an integral type. */
//============================================================================== //==============================================================================
// Primitive colour macros // Primitive colour macros
//============================================================================== //==============================================================================
#define R(c) (((c) >>24) &0xFF) /**< Exract Red component of colour. */ #define R(c) (((c) >>24) &0xFF) /**< Extract Red component of colour. */
#define G(c) (((c) >>16) &0xFF) /**< Exract Green component of colour. */ #define G(c) (((c) >>16) &0xFF) /**< Extract Green component of colour. */
#define B(c) (((c) >> 8) &0xFF) /**< Exract Blue component of colour. */ #define B(c) (((c) >> 8) &0xFF) /**< Extract Blue component of colour. */
#define A(c) ( (c) &0xFF) /**< Exract Alpha component of colour. */ #define A(c) ( (c) &0xFF) /**< Extract Alpha component of colour. */
/** /**
* Build an RGB pixel from components. * Build an RGB pixel from components.

View file

@ -28,7 +28,7 @@ THE SOFTWARE.
#ifndef GX_BM_SUBTRACT #ifndef GX_BM_SUBTRACT
/** /**
* Blending type. * Blending type.
* libogc revision 4170 fixed a typo. GX_BM_SUBSTRACT was renamed GX_BM_SUBTRACT. * libogc revision 4170 fixed a typographical error. GX_BM_SUBSTRACT was renamed GX_BM_SUBTRACT.
* But for previous versions this define is needed. * But for previous versions this define is needed.
*/ */
#define GX_BM_SUBTRACT GX_BM_SUBSTRACT #define GX_BM_SUBTRACT GX_BM_SUBSTRACT