Feeds:
Posts
Comments

Archive for September, 2008

This play is awesome. I recently start to teach my friends who want to play the guitar, and I felt like I would practice the guitar first for them. Later, I will try one of those great guitar songs.

Read Full Post »

Opengl Making Sphere efficiently

#include
#define X .525731112119133606
#define Z .850650808352039932
static GLfloat vdata[12][3] = {
{-X, 0.0, Z}, {X, 0.0, Z}, {-X, 0.0, -Z}, {X, 0.0, -Z},
{0.0, Z, X}, {0.0, Z, -X}, {0.0, -Z, X}, {0.0, -Z, -X},
{Z, X, 0.0}, {-Z, X, 0.0}, {Z, -X, 0.0}, {-Z, -X, 0.0}
};
static [...]

Read Full Post »

2D Array Dynamic Allocation ( C++)

double** A = NULL; //Pointer to rows of A Matrix (NxN, type double)
//Allocate space for pointers to rows of A matrix
if (!(A = new double*[N])){
cout << “Allocation for A failed. \n”;
return 0;
} //End if
// Allocate space for entries of the columns of the A Matrix
for (i = 0; i < N; i++) {
if (!(A[i] = [...]

Read Full Post »

I like the lyric of this song and his voice. I want to try this song.:)

Read Full Post »