mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-05 20:07:58 +00:00
removed unused shTentacleX and shTentacle; shIBranch can now be dependant on the edge length
This commit is contained in:
13
geometry.cpp
13
geometry.cpp
@@ -167,6 +167,10 @@ enum class ePipeEnd {sharp, ball};
|
||||
|
||||
struct embedding_method;
|
||||
|
||||
struct length_adjusted_shapes {
|
||||
hpcshape shIBranch;
|
||||
};
|
||||
|
||||
/** basic geometry parameters */
|
||||
struct geometry_information {
|
||||
|
||||
@@ -293,7 +297,7 @@ hpcshape
|
||||
shFigurine, shTreat, shSmallTreat,
|
||||
shElementalShard,
|
||||
// shBranch,
|
||||
shIBranch, shTentacle, shTentacleX, shILeaf[3],
|
||||
shILeaf[3],
|
||||
shMovestar,
|
||||
shWolf, shYeti, shDemon, shGDemon, shEagle, shGargoyleWings, shGargoyleBody,
|
||||
shFoxTail1, shFoxTail2,
|
||||
@@ -395,6 +399,9 @@ hpcshape
|
||||
|
||||
map<int, hpcshape> shPipe;
|
||||
|
||||
length_adjusted_shapes lash_default;
|
||||
map<int, length_adjusted_shapes> lash;
|
||||
|
||||
vector<hpcshape> shPlainWall3D, shWireframe3D, shWall3D, shMiniWall3D;
|
||||
vector<hyperpoint> walltester;
|
||||
|
||||
@@ -483,9 +490,11 @@ hpcshape
|
||||
void initPolyForGL();
|
||||
void extra_vertices();
|
||||
transmatrix ddi(int a, ld x);
|
||||
void drawTentacle(hpcshape &h, ld rad, ld var, ld divby);
|
||||
void drawTentacle(ld rad, ld var, ld divby, ld tlength);
|
||||
hyperpoint hpxyzsc(double x, double y, double z);
|
||||
hyperpoint turtlevertex(int u, double x, double y, double z);
|
||||
|
||||
length_adjusted_shapes& get_lash(ld len);
|
||||
|
||||
void bshape(hpcshape& sh, PPR prio);
|
||||
void finishshape();
|
||||
|
Reference in New Issue
Block a user