mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-24 06:26:02 +00:00
3D:: conformal::rotation is now used to get the initial rotation right in 3D
This commit is contained in:
@@ -1289,13 +1289,13 @@ void ballgeometry() {
|
||||
|
||||
void resetview() {
|
||||
DEBBI(DF_GRAPH, ("reset view"));
|
||||
View = Id;
|
||||
View = conformal::rotmatrix();
|
||||
// EUCLIDEAN
|
||||
if(!masterless)
|
||||
viewctr.at = cwt.at->master,
|
||||
viewctr.spin = cwt.spin;
|
||||
else centerover = cwt;
|
||||
cwtV = Id;
|
||||
cwtV = View;
|
||||
// SDL_LockSurface(s);
|
||||
// SDL_UnlockSurface(s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user