mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-15 22:27:38 +00:00
rotational model of Nil, and change Nil rotation
This commit is contained in:
5
glhr.cpp
5
glhr.cpp
@@ -275,6 +275,7 @@ struct GLprogram {
|
||||
|
||||
GLint uFog, uFogColor, uColor, tTexture, tInvExpTable, tAirMap, uMV, uProjection, uAlpha, uFogBase, uPP;
|
||||
GLint uPRECX, uPRECY, uPRECZ, uIndexSL, uIterations, uLevelLines, uSV, uRadarTransform;
|
||||
GLint uRotSin, uRotCos, uRotNil;
|
||||
|
||||
flagtype shader_flags;
|
||||
|
||||
@@ -402,6 +403,10 @@ GLprogram::GLprogram(string vsh, string fsh) {
|
||||
uIterations = glGetUniformLocation(_program, "uIterations");
|
||||
uLevelLines = glGetUniformLocation(_program, "uLevelLines");
|
||||
uRadarTransform = glGetUniformLocation(_program, "uRadarTransform");
|
||||
|
||||
uRotCos = glGetUniformLocation(_program, "uRotCos");
|
||||
uRotSin = glGetUniformLocation(_program, "uRotSin");
|
||||
uRotNil = glGetUniformLocation(_program, "uRotNil");
|
||||
}
|
||||
|
||||
GLprogram::~GLprogram() {
|
||||
|
Reference in New Issue
Block a user