Rumah

Description
Rumah

Please download to get full document.

View again

of 7
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information
Category:

Documents

Publish on:

Views: 14 | Pages: 7

Extension: TXT | Download: 0

Share
Transcript
  //./////////#include <windows.h> // ///digunakan oleh sistem #include <gl/Gl.h>#include <gl/glut.h>//<<<<<<<<<<<<<<<<<<<<<<< myInit >>>>>>>>>>>>>>>>>>>> void myInit(void) { glClearColor(.! .! .! !.!) // mem$uat latar $elakang %utih glColor&'(!.!' !.!' !.!') // mem$uat warna gam$ar hitam glointi*e(+.!) // ukuran titik + , + %i,elgl-ineidth(+.!')//mene$alkan garis glatri,ode(G-01234C5I26) gl-oadIdentity()glu2rtho78(!.! 9+!.! !.! +:!.!);//<<<<<<<<<<<<<<<<<<<<<<<< my8is%lay >>>>>>>>>>>>>>>>>void my8is%lay(void){glClear(G-0C2-210=410I5) // ha%us layar glColor&'(!.!' 7!!.!' 7!!.!') //mem$eri warna light $lue glegin(G-02-?G26)// dinding %intugl@erte,7i(!! A!) gl@erte,7i(!! A!) gl@erte,7i(7!! A!) gl@erte,7i(7!! A!) gl4nd() glegin(G-02-?G26)//dinding Bendela gl@erte,7i(7!! A!) gl@erte,7i(&A! A!) gl@erte,7i(&A! A!) gl@erte,7i(7!! A!) gl4nd() glColor&'(.!' !.+' !.!') // mem$eri warna orange tua glegin(G-02-?G26)//%ada ata% di atas dinding Bendela gl@erte,7i(&A! A!) gl@erte,7i(&!! 7!!) gl@erte,7i(A! 7!!) gl@erte,7i(7!! A!) gl4nd() glColor&'(.!' !.9' !.!')//mem$eri warna orange muda glegin(G-02-?G26)//%ada ata% di atas dinding %intu gl@erte,7i(7!! A!) gl@erte,7i(A! 7!!) gl@erte,7i(!! A!) gl4nd() glColor&'(:+.!' !.!' !.!') //mem$eri warna merah glegin(G-02-?G26)//%intu gl@erte,7i(7A A!) gl@erte,7i(7A !!) gl@erte,7i(A! !!) gl@erte,7i(A! A!) gl4nd()   glColor&'(!.!' !!.!' !.!')//mem$eri warna hiBau glegin(G-02-?G26)//Bendela atas kiri gl@erte,7i(7A! A) gl@erte,7i(7A! &!) gl@erte,7i(7:! &!) gl@erte,7i(7:! A) gl4nd() glColor&'(!.' .!' !.')//warna a$uDa$u glegin(G-02-?G26)//Bendela atas kanan gl@erte,7i(7:! &!) gl@erte,7i(&! &!) gl@erte,7i(&! A) gl@erte,7i(7:! A) gl4nd() glColor&'(+!.!' A!.!' !.!') //warna kuning glegin(G-02-?G26)//Bendela $awah kiri gl@erte,7i(7A! A) gl@erte,7i(7A! !!) gl@erte,7i(7:! !!) gl@erte,7i(7:! A) gl4nd() glColor&'(+!.!' !.!' !.!') //warna ungu glegin(G-02-?G26)//Bendela $awah kanan gl@erte,7i(7:! !!) gl@erte,7i(&! !!) gl@erte,7i(&! A) gl@erte,7i(7:! A) gl4nd() glColor&'(!.!' !.!' !.!') //mem$aeri warna hitam ada garis glegin(G-0-I640-22) //mem$entuk dinding untuk %intugl@erte,7i(!! A!) gl@erte,7i(!! A!) gl@erte,7i(7!! A!) gl@erte,7i(7!! A!) gl4nd() glegin(G-0-I640-22)//mem$entuk dinding untuk Bendela gl@erte,7i(7!! A!) gl@erte,7i(&A! A!) gl@erte,7i(&A! A!) gl@erte,7i(7!! A!) gl4nd() glegin(G-0-I640-22)//mem$entuk ata% di atas dinding untuk Bendela gl@erte,7i(&A! A!) gl@erte,7i(&!! 7!!) gl@erte,7i(A! 7!!)   gl@erte,7i(7!! A!) gl4nd() glegin(G-0-I640-22)//mem$entuk ata% di atas dinding %intu gl@erte,7i(7!! A!) gl@erte,7i(A! 7!!) gl@erte,7i(!! A!) gl4nd() glegin(G-0-I640-22)// mem$entuk %intu gl@erte,7i(7A A!) gl@erte,7i(7A !!) gl@erte,7i(A! !!) gl@erte,7i(A! A!) gl4nd() glegin(G-02I65) //mem$uat ganggang %intu gl@erte,7i(&! A) gl4nd() glegin(G-0-I640-22) //mem$uat Bendela atas kiri gl@erte,7i(7A! A) gl@erte,7i(7A! &!) gl@erte,7i(7:! &!) gl@erte,7i(7:! A) gl4nd() glegin(G-0-I640-22) //mem$uat Bendela atas kanan gl@erte,7i(7:! &!) gl@erte,7i(&! &!) gl@erte,7i(&! A) gl@erte,7i(7:! A) gl4nd() glegin(G-0-I640-22)//mem$entuk Bendela kiri $awah gl@erte,7i(7A! A) gl@erte,7i(7A! !!) gl@erte,7i(7:! !!) gl@erte,7i(7:! A) gl4nd() glegin(G-0-I640-22)//mem$entuk Bendela $awah kanan gl@erte,7i(7:! !!) gl@erte,7i(&! !!) gl@erte,7i(&! A) gl@erte,7i(7:! A) gl4nd() gl4nd()gllush() // mengirim semua out%ut ke layar ;//<<<<<<<<<<<<<<<<<<<<<<<< main >>>>>>>>>>>>>>>>>>>>>>int main(int argc charEE argv){glutInit(Fargc argv) // inisialisasi toolkitglutInit8is%layode(G-=50I6G-4  G-=501G) // set modus dis%layglutInitindowi*e(9+! +:!) // set ukuran window glutInitindowosition(!! A!) // set %osisi window di layar  //acuan sudut kiriDatasglutCreateindow(Hmy 'irst attem%tH) // $uka screen windowglut8is%layunc(my8is%lay) // registrasi 'ungsi menggam$rmyInit() glutain-oo%() // $erulang terusDmenerus;DDDDDDDDDDDD#include <windows.h> // digunakan oleh sistem #include <gl/Gl.h>#include <gl/glut.h>//<<<<<<<<<<<<<<<<<<<<<<< myInit >>>>>>>>>>>>>>>>>>>> void myInit(void) { glClearColor(.! .! .! !.!) // mem$uat latar $elakang %utih glColor&'(!.!' !.!' !.!') // mem$uat warna gam$ar hitam glointi*e(+.!) // ukuran titik + , + %i,elgl-ineidth(+.!')//mene$alkan garis glatri,ode(G-01234C5I26) gl-oadIdentity()glu2rtho78(!.! 9+!.! !.! +:!.!);//<<<<<<<<<<<<<<<<<<<<<<<< my8is%lay >>>>>>>>>>>>>>>>>void my8is%lay(void){glClear(G-0C2-210=410I5) // ha%us layar glColor&'(!.!' 7!!.!' 7!!.!') //mem$eri warna light $lue glegin(G-02-?G26)// dinding %intugl@erte,7i(!! A!) gl@erte,7i(!! A!) gl@erte,7i(7!! A!) gl@erte,7i(7!! A!) gl4nd() glegin(G-02-?G26)//dinding Bendela gl@erte,7i(7!! A!) gl@erte,7i(&A! A!) gl@erte,7i(&A! A!) gl@erte,7i(7!! A!) gl4nd() glColor&'(.!' !.+' !.!') // mem$eri warna orange tua glegin(G-02-?G26)//%ada ata% di atas dinding Bendela gl@erte,7i(&A! A!) gl@erte,7i(&!! 7!!) gl@erte,7i(A! 7!!) gl@erte,7i(7!! A!) gl4nd() glColor&'(.!' !.9' !.!')//mem$eri warna orange muda glegin(G-02-?G26)//%ada ata% di atas dinding %intu gl@erte,7i(7!! A!) gl@erte,7i(A! 7!!) gl@erte,7i(!! A!) gl4nd() glColor&'(:+.!' !.!' !.!') //mem$eri warna merah glegin(G-02-?G26)//%intu
Related Search
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks