This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct point{ | |
float x; | |
float y; | |
float z; | |
}; | |
struct face { | |
int vtx[3]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//necessary headerfile | |
#include <stdio.h> | |
#include <string.h> | |
#include <math.h> | |
#include <time.h> | |
#include "GL/glut.h" | |
#include "b.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//necessary header | |
#include<stdlib.h> | |
#include<math.h> | |
#include<Windows.h> | |
//Opengl utilities |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//necessary header | |
#include<stdlib.h> | |
#include<math.h> | |
#include<Windows.h> | |
//Opengl utilities |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//necessary header | |
#include<stdlib.h> | |
#include<math.h> | |
#include<Windows.h> | |
//Opengl utilities |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Developed by Basant Bhandari */ | |
/* Header file declaration */ | |
#include<stdio.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//necessary header | |
#include<iostream> | |
#include<math.h> | |
//Opengl utilities | |
#include <GL\glew.h> | |
#include<GL/GLU.h> | |
#include<GL/GL.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LXI H 4200h | |
MOV C M | |
DCR C | |
REPEAT: MOV D C | |
LXI H 4201h | |
LOOP: MOV A M | |
INX H | |
CMP M | |
JC SKIP | |
MOV B M |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LXI H 8B20h | |
LXI B 4000h | |
MVI E 0Ah | |
LOOP: MOV A M | |
ANI 0Fh | |
MOV D A | |
MOV A M | |
ANI F0h | |
RLC | |
RLC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MVI C 00h | |
LDA 4150h | |
MOV B A | |
LDA 4151h | |
ADD B | |
JNC LOOP | |
INR C | |
LOOP: STA 4152h | |
MOV A C | |
STA 4153h |
NewerOlder