Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Report
Search
khamkone
February 24, 2013
Education
0
42
Report
khamkone
February 24, 2013
Tweet
Share
Other Decks in Education
See All in Education
The knowledge panel is your new homepage
bradwetherall
0
220
Презентация "Знаю Россию"
spilsart
0
380
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
PRO
4
17k
SJRC 2526
cbtlibrary
0
170
沖ハック~のみぞうさんとハッキングチャレンジ☆~
nomizone
1
540
Sanapilvet opetuksessa
matleenalaakso
0
34k
Human Perception and Cognition - Lecture 4 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.2k
【ZEPホスト用メタバース校舎操作ガイド】
ainischool
0
150
2025年度伊藤正彦ゼミ紹介
imash
0
150
20250910_エンジニアの成長は自覚するところから_サポーターズ勉強会
ippei0923
0
370
今の私を形作る4つの要素と偶然の出会い(セレンディピティ)
mamohacy
2
130
Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
2.7k
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
260
Color Theory Basics | Prateek | Gurzu
gurzu
0
150
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
580
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
0
1.8k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
710
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Google's AI Overviews - The New Search
badams
0
870
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
97
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
0
950
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
120
Designing Powerful Visuals for Engaging Learning
tmiket
0
190
Transcript
ສະເຫນ ີ ໂດຍ ຫ ້ ອງ :4CS7 ນາງ
ດວງຕາວ ັ ນ ແສງໄຊຍະພອນ ນາງ ວ ິ ຍະພອນ ໄຊຍະລາດ ນາງ ບ ຸ ດສະດ ີ ພອນຄ າເພ ັ ງ
None
#include <GL/glut.h> static GLfloat spin = 0.0;
void display(void) { glClear(GL_COLOR_BUFFER_BIT); glPushMatrix(); glRotatef(spin, 0.0, 1.0, 1.0); glColor3f(3.0, 0.0, 0.0); glRectf(-55.0, -2.0, 55.0, 2.0); glPopMatrix(); glutSwapBuffers();
} void spinDisplay(void) { spin =
spin + 0.1; if (spin > 360.0) spin = spin - 360.0; glutPostRedisplay(); }
void init(void) { glClearColor (0.0, 0.0, 0.0,
0.0); glShadeModel (GL_FLAT); }
void reshape(int w, int h) { glViewport
(0, 0, (GLsizei) w, (GLsizei) h); glMatrixMode(GL_PROJECTION); glLoadIdentity(); glOrtho(-50.0, 50.0, -50.0, 50.0, -1.0, 1.0); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); }
void mouse(int button, int state, int x, int y)
{ switch (button) { case GLUT_LEFT_BUTTON: if (state == GLUT_DOWN) glutIdleFunc(spinDisplay); break; case GLUT_MIDDLE_BUTTON: case GLUT_RIGHT_BUTTON: if (state == GLUT_DOWN) glutIdleFunc(0); break; default: break; } }
int main(int argc, char** argv) { glutInit(&argc,
argv); glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGB); glutInitWindowSize (250, 250); glutInitWindowPosition (150,150); glutCreateWindow (argv[0]); init (); glutDisplayFunc(display); glutReshapeFunc(reshape); glutMouseFunc(mouse); glutMainLoop(); return 0;