Skip to content

Commit

Permalink
Merge remote-tracking branch 'kipi/ghost-bbox-no-interp'
Browse files Browse the repository at this point in the history
  • Loading branch information
j0zzz committed Jan 27, 2025
2 parents c05b923 + 3463eb6 commit 758a03d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions trunk/ghost/ghost.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,8 @@ static qboolean Ghost_Update (void)
// TODO: lerp animation frames
ghost_entity.frame = rec_after->frame;

VectorCopy(rec_before->origin, ghost_entity.msg_origins[0]);
VectorCopy(rec_after->origin, ghost_entity.msg_origins[1]);
Ghost_LerpOrigin(rec_before->origin, rec_after->origin,
frac,
ghost_entity.origin);
Expand Down Expand Up @@ -476,6 +478,7 @@ void Ghost_Draw (void)
* - skinnum
* - colormap
* - transparency
* - msg_origins
* - origin
* - angles
* - modelindex
Expand Down

0 comments on commit 758a03d

Please sign in to comment.