mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-18 22:55:12 +00:00
fixed the cameraangle option
This commit is contained in:
@@ -2416,6 +2416,7 @@ void drawaura() {
|
|||||||
}
|
}
|
||||||
glflush();
|
glflush();
|
||||||
current_display->set_projection(0, false);
|
current_display->set_projection(0, false);
|
||||||
|
setcameraangle(true);
|
||||||
glhr::switch_mode(glhr::gmVarColored, glhr::shader_projection::standard);
|
glhr::switch_mode(glhr::gmVarColored, glhr::shader_projection::standard);
|
||||||
glhr::id_modelview();
|
glhr::id_modelview();
|
||||||
glhr::prepare(auravertices);
|
glhr::prepare(auravertices);
|
||||||
|
|||||||
@@ -1415,6 +1415,7 @@ void drawqueue() {
|
|||||||
spherespecial = 0;
|
spherespecial = 0;
|
||||||
spherephase = 0;
|
spherephase = 0;
|
||||||
current_display->set_projection(0, true);
|
current_display->set_projection(0, true);
|
||||||
|
setcameraangle(true);
|
||||||
|
|
||||||
for(auto& ptd: ptds) if(ptd->prio == PPR::OUTCIRCLE)
|
for(auto& ptd: ptds) if(ptd->prio == PPR::OUTCIRCLE)
|
||||||
ptd->draw();
|
ptd->draw();
|
||||||
|
|||||||
Reference in New Issue
Block a user