1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-14 17:29:57 +00:00

fixup hyper.h was not pushed

This commit is contained in:
Zeno Rogue 2023-08-16 09:54:48 +02:00
parent 4b5a1621e8
commit 0b2aee0b40

View File

@ -258,7 +258,7 @@ enum eModel : int;
struct projection_configuration { struct projection_configuration {
eModel model; /**< which projection, see classes.cpp */ eModel model; /**< which projection, see classes.cpp */
ld xposition, yposition; /**< move the center to another position */ ld xposition, yposition; /**< move the center to another position */
ld scale, alpha, camera_angle, fisheye_param, twopoint_param, axial_angle, stretch, ballangle, ballproj, euclid_to_sphere; ld scale, alpha, fisheye_param, twopoint_param, axial_angle, stretch, ballproj, euclid_to_sphere;
ld clip_min, clip_max; ld clip_min, clip_max;
ld halfplane_scale; ld halfplane_scale;
ld collignon_parameter; ld collignon_parameter;
@ -288,10 +288,14 @@ struct projection_configuration {
int back_and_front; /* 0 = do not, 1 = do, 2 = only back */ int back_and_front; /* 0 = do not, 1 = do, 2 = only back */
struct trans23 *ptr_model_orientation; struct trans23 *ptr_model_orientation;
struct transmatrix *ptr_ball;
struct transmatrix *ptr_camera;
projection_configuration(); projection_configuration();
trans23& mori() { return *ptr_model_orientation; } trans23& mori() { return *ptr_model_orientation; }
transmatrix& ball() { return *ptr_ball; }
transmatrix& cam() { return *ptr_camera; }
}; };
enum eThreatLevel { tlNoThreat, tlSpam, tlNormal, tlHighThreat }; enum eThreatLevel { tlNoThreat, tlSpam, tlNormal, tlHighThreat };