summaryrefslogtreecommitdiff
path: root/src/engine/skelmodel.h
diff options
context:
space:
mode:
authorxolatile2025-08-10 00:19:46 +0200
committerxolatile2025-08-10 00:19:46 +0200
commit757096e7df15c14b9b10352fa91663483f9e34f8 (patch)
treedcad789d0abd8be76463277dc01bf32c4e6a527b /src/engine/skelmodel.h
parentb2c89d7060e99a36c8c7ac897b7386686c74deac (diff)
downloadxolatile-badassbug-757096e7df15c14b9b10352fa91663483f9e34f8.tar.xz
xolatile-badassbug-757096e7df15c14b9b10352fa91663483f9e34f8.tar.zst
all
Diffstat (limited to 'src/engine/skelmodel.h')
-rw-r--r--src/engine/skelmodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/skelmodel.h b/src/engine/skelmodel.h
index e823337..ad5d34e 100644
--- a/src/engine/skelmodel.h
+++ b/src/engine/skelmodel.h
@@ -243,13 +243,13 @@ struct skelmodel : animmodel {
return numverts;
}
template<class T>
- static inline void fillvert(T &vv, int j, vert &v) {
+ static inline void fillvert(T &vv, vert &v) {
vv.tc = v.tc;
}
template<class T>
void fillverts(T *vdata) {
vdata += voffset;
- loopi(numverts) fillvert(vdata[i], i, verts[i]);
+ loopi(numverts) fillvert(vdata[i], verts[i]);
}
void interpverts(const dualquat * RESTRICT bdata1, const dualquat * RESTRICT bdata2, bool tangents, void * RESTRICT vdata, skin &s) {
const int blendoffset = ((skelmeshgroup *)group)->skel->numgpubones;