Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
0203
cbtlibrary
0
150
計算物理におけるGitの使い方 / 01-c-compphys
kaityo256
PRO
2
510
AIでキミの未来はどう変わる?
behomazn
0
120
栃木県警サイバーセキュリティ研修会2026
nomizone
0
360
Leveraging LLMs for student feedback in introductory data science courses (Stats Up AI)
minecr
1
240
0121
cbtlibrary
0
150
Gluon Recruit Deck
gluon
0
160
自己紹介 / who-am-i
yasulab
6
6.5k
滑空スポーツ講習会2025(実技講習)EMFT学科講習資料/JSA EMFT 2025
jsaseminar
0
310
高校数学とJulia言語
shimizudan
0
140
多様なメンター、多様な基準
yasulab
6
20k
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
signer
PRO
0
2.6k
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.2k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
75
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
270
Un-Boring Meetings
codingconduct
0
240
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
400
Into the Great Unknown - MozCon
thekraken
40
2.3k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Thoughts on Productivity
jonyablonski
75
5.1k
From π to Pie charts
rasagy
0
160
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
820
Designing Experiences People Love
moore
143
24k
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;