Code Blocks

Pages

▼
Sunday, January 11, 2015

Modelling Transformations in OpenGL

›
#include<stdio.h> #include<GL/glut.h> /* This function is to draw a triangle */ void draw_triangle() { glBegin(GL_LINES); ...
Tuesday, December 23, 2014

2D scaling Without Using OpenGL Function For Scaling

›
Program to draw a square of side 100 units at the center of the screen and scale it such that it enlarges to a square of side 150 units wit...

2D Rotation Without Using OpenGL Function For Rotation

›
Program to perform 2D rotation without using OpenGL function for rotation #include<stdio.h> #include<math.h> #include<GL/g...
Monday, December 22, 2014

2D Translation Without Using OpenGL Function For Translation

›
Program to draw a rectangle and translate it without using OpenGL function for translation #include<stdio.h> #include<GL/glut.h...
Friday, December 19, 2014

Lexicographic sorting of strings

›
/* Program to perform lexicographic sorting of strings */ #include<stdio.h> #include<string.h> #include<ctype.h> void ...
›
Home
View web version
Powered by Blogger.