Skip to content

Commit

Permalink
document animmodel::locationsize()
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Nov 28, 2024
1 parent b565910 commit 19eb032
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/engine/model/animmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,12 @@ class animmodel : public model
const std::optional<vec> rotate,
const std::optional<vec> orient,
const std::optional<float> size) override final;

/**
* @brief Returns a 4-vector consisting of the translation and scale of the model.
*
* @return translation coordinates in x,y,z; scale factor in w
*/
vec4<float> locationsize() const override final;
void calcbb(vec &center, vec &radius) const override final;
void startrender() const override final;
Expand Down

0 comments on commit 19eb032

Please sign in to comment.