[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 cosTheta1, sinTheta1;
f32 ringDelta, sideDelta;
f32 cosPhi, sinPhi, dist;
ringDelta = 2.0 * M_PI / rings;
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));
phi = 0.0;
for (j = nsides; j >= 0; j--) {
f32 cosPhi, sinPhi, dist;
phi += sideDelta;
cosPhi = cos(phi);
sinPhi = sin(phi);
@ -288,13 +287,13 @@ void GRRLIB_DrawTorus(f32 r, f32 R, int nsides, int rings, bool filled){
/**
* Draw a Sphere (with normal).
* @param r Radius of the Sprhere.
* @param r Radius of the Sphere.
* @param lats Number of lattitudes.
* @param longs Number of Longitutes.
* @param filled Wired or not.
*/
void GRRLIB_DrawSphere(f32 r, int lats, int longs, bool filled) {
int i,j;
int i, j;
for(i = 0; i <= lats; i++) {
f32 lat0 = M_PI * (-0.5F + (f32) (i - 1) / lats);

View file

@ -97,7 +97,7 @@ are smart enough to convert these instructions.
GRRLIB is supplied as source code.
libjpeg is supplied as a precompiled library *1
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)
libfat is supplied with devkitpro (Ie. preinstalled)
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
c:
cd \grr\trunk\GRRLIB\lib\png
make install
make clean all install
Next up the list is libpngu *2
c:
cd \grr\trunk\GRRLIB\lib\pngu
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
c:
cd \grr\trunk\GRRLIB\lib\jpeg
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
install the libpng, libpngu, libjpeg and libfreetype libraries in a single
command: