Skip to content

[Exercise] Chapter 2

Juhwi Eden Kim edited this page Oct 23, 2019 · 1 revision

2.1

  • display() 실행 시 마다 초기화 안해주면 화면이 덮어짐
glClear(GL_DEPTH_BUFFER_BIT);
glClearColor(0.0, 0.0, 0.0, 1.0);
glClear(GL_COLOR_BUFFER_BIT);
  • glGet

2.2

  • vertex shader 좌표 수정

Clone this wiki locally