Skip to content

Commit

Permalink
document animmodel::matrixstack
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Nov 28, 2024
1 parent da23b6f commit 28d59da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/engine/model/animmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,10 @@ class animmodel : public model
int intersect(int anim, int basetime, int basetime2, const vec &pos, float yaw, float pitch, float roll, dynent *d, modelattach *a, float size, const vec &o, const vec &ray, float &dist) const override final;

static bool enabletc, enablebones, enabletangents;

/**
* @brief A stack of transformation matrices used for model intersection math
*/
static std::stack<matrix4> matrixstack;
static float sizescale;

Expand Down

0 comments on commit 28d59da

Please sign in to comment.