Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Report
Search
khamkone
February 24, 2013
Education
43
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Report
khamkone
February 24, 2013
Other Decks in Education
See All in Education
Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
3.4k
未踏峰連山 Frontiers: Creating and Conquering Untrodden Peaks
ishii_mit
1
120
AI-Based Speaking Assessment of a Short-Term Study Abroad Program
uranoken
0
510
1人 × AI、1か月でここまで作れる ー 数年前の外注換算3.8〜7.4億円・241〜379人月分の作業を、AI費用 約10万円・31日で
frievea
0
520
Science Tokyo University for International Research Excellence scheme_April 2026
sciencetokyo
PRO
0
230
Quality Control of Crude Drugs
pawan_pharm
0
160
中小規模私大の教学IRを支えるデータマネジメント ― データ基盤構築の取り組みと実務の現在地 ―
terazawa
0
170
医療事務養成の専門学校でのAI教育 非エンジニアの学生にAIを1年間使ってもらって、感じたこと
naochim2026
0
120
[2026前期火5] 論理学(京都大学文学部 前期 第9回)「正規化の停止性——ヒドラゲームによる証明」
yatabe
0
290
新しいJavaを学んで・使っていこう! / osd26do
gishi_yama
0
260
武藤の処世術を書いてみた
mutomasa
0
120
良書紹介08_ 頭のいい子がやっているすごいグラフの読み方
bunnchinn3
0
160
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
460
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
How to build a perfect <img>
jonoalderson
1
6k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
260
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Building Applications with DynamoDB
mza
96
7.2k
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;