Skip to content

Instantly share code, notes, and snippets.

View basantbhandari's full-sized avatar
🎯
Focusing

Basant Babu Bhandari basantbhandari

🎯
Focusing
View GitHub Profile
struct point{
float x;
float y;
float z;
};
struct face {
int vtx[3];
//necessary headerfile
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include "GL/glut.h"
#include "b.h"
//necessary header
#include<stdlib.h>
#include<math.h>
#include<Windows.h>
//Opengl utilities
//necessary header
#include<stdlib.h>
#include<math.h>
#include<Windows.h>
//Opengl utilities
//necessary header
#include<stdlib.h>
#include<math.h>
#include<Windows.h>
//Opengl utilities
/* Developed by Basant Bhandari */
/* Header file declaration */
#include<stdio.h>
@basantbhandari
basantbhandari / solarSyatem.html
Created December 26, 2019 12:03
solar system is developed using opengl and glut ,glew utility
//necessary header
#include<iostream>
#include<math.h>
//Opengl utilities
#include <GL\glew.h>
#include<GL/GLU.h>
#include<GL/GL.h>
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
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
MVI C 00h
LDA 4150h
MOV B A
LDA 4151h
ADD B
JNC LOOP
INR C
LOOP: STA 4152h
MOV A C
STA 4153h