Top.Mail.Ru
Ответы

OpenGL glMatrixMode. Обьясните что это и на что влияет плиз непонятно у него есть ряд параметров.

По дате
По рейтингу
Аватар пользователя
Новичок
13лет

Указывает с какой из матриц будешь работать

Аватар пользователя
Искусственный Интеллект
13лет

какие там параметры? перечислите.
я вижу лишь один параметр

Name
glMatrixMode — specify which matrix is the current matrix

C Specification
void glMatrixMode( GLenum mode);

Parameters
mode
Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION, and GL_TEXTURE. The initial value is GL_MODELVIEW. Additionally, if the ARB_imaging extension is supported, GL_COLOR is also accepted.