[CHG] Updated the README.html file

This commit is contained in:
Crayon2000 2010-01-07 00:03:56 +00:00
parent a4699e1780
commit 4ab8726ffe
2 changed files with 34 additions and 35 deletions

View file

@ -252,6 +252,7 @@ void GRRLIB_DrawTorus(f32 r, f32 R, int nsides, int rings, bool filled){
f32 cosTheta, sinTheta; f32 cosTheta, sinTheta;
f32 cosTheta1, sinTheta1; f32 cosTheta1, sinTheta1;
f32 ringDelta, sideDelta; f32 ringDelta, sideDelta;
f32 cosPhi, sinPhi, dist;
ringDelta = 2.0 * M_PI / rings; ringDelta = 2.0 * M_PI / rings;
sideDelta = 2.0 * M_PI / nsides; sideDelta = 2.0 * M_PI / nsides;
@ -267,8 +268,6 @@ void GRRLIB_DrawTorus(f32 r, f32 R, int nsides, int rings, bool filled){
else GX_Begin(GX_LINESTRIP, GX_VTXFMT0, 2*(nsides+1)); else GX_Begin(GX_LINESTRIP, GX_VTXFMT0, 2*(nsides+1));
phi = 0.0; phi = 0.0;
for (j = nsides; j >= 0; j--) { for (j = nsides; j >= 0; j--) {
f32 cosPhi, sinPhi, dist;
phi += sideDelta; phi += sideDelta;
cosPhi = cos(phi); cosPhi = cos(phi);
sinPhi = sin(phi); sinPhi = sin(phi);
@ -288,7 +287,7 @@ void GRRLIB_DrawTorus(f32 r, f32 R, int nsides, int rings, bool filled){
/** /**
* Draw a Sphere (with normal). * Draw a Sphere (with normal).
* @param r Radius of the Sprhere. * @param r Radius of the Sphere.
* @param lats Number of lattitudes. * @param lats Number of lattitudes.
* @param longs Number of Longitutes. * @param longs Number of Longitutes.
* @param filled Wired or not. * @param filled Wired or not.

View file

@ -97,7 +97,7 @@ are smart enough to convert these instructions.
GRRLIB is supplied as source code. GRRLIB is supplied as source code.
libjpeg is supplied as a precompiled library *1 libjpeg is supplied as a precompiled library *1
libpngu is supplied as source code libpngu is supplied as source code
libpng is supplied as a precompiled library libpng is supplied as source code
libz is supplied with devkitpro (Ie. preinstalled) libz is supplied with devkitpro (Ie. preinstalled)
libfat is supplied with devkitpro (Ie. preinstalled) libfat is supplied with devkitpro (Ie. preinstalled)
libfreetype is supplied as a precompiled library libfreetype is supplied as a precompiled library
@ -114,23 +114,23 @@ libz comes preinstalled with devkitPro, so we can move directly to libpng...
To install libpng *2 To install libpng *2
c: c:
cd \grr\trunk\GRRLIB\lib\png cd \grr\trunk\GRRLIB\lib\png
make install make clean all install
Next up the list is libpngu *2 Next up the list is libpngu *2
c: c:
cd \grr\trunk\GRRLIB\lib\pngu cd \grr\trunk\GRRLIB\lib\pngu
make clean all install make clean all install
To install libfreetype *2
c:
cd \grr\trunk\GRRLIB\lib\freetype
make install
Next up the list is libjpeg *2 *3 Next up the list is libjpeg *2 *3
c: c:
cd \grr\trunk\GRRLIB\lib\jpeg cd \grr\trunk\GRRLIB\lib\jpeg
make install make install
Next up the list is libfreetype *2
c:
cd \grr\trunk\GRRLIB\lib\freetype
make install
*2 A Windows batch-file and a Linux shell-script are included which will *2 A Windows batch-file and a Linux shell-script are included which will
install the libpng, libpngu, libjpeg and libfreetype libraries in a single install the libpng, libpngu, libjpeg and libfreetype libraries in a single
command: command: