Skip to content

Commit

Permalink
Fixes DLL exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeblanc committed Mar 29, 2024
1 parent fc5d448 commit e30712d
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions src/animation/offline/raw_track_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,21 @@ bool SampleTrack(const _RawTrack& _track, float _ratio,
return true;
}

// Explicitly instantiate supported raw tracks.
template bool SampleTrack(const RawFloatTrack& _track, float _ratio,
float* _value);
template bool SampleTrack(const RawFloat2Track& _track, float _ratio,
math::Float2* _value);
template bool SampleTrack(const RawFloat3Track& _track, float _ratio,
math::Float3* _value);
template bool SampleTrack(const RawFloat4Track& _track, float _ratio,
math::Float4* _value);
template bool SampleTrack(const RawQuaternionTrack& _track, float _ratio,
math::Quaternion* _value);
// Explicitly instantiate supported raw tracks sampling functions.
template OZZ_ANIMOFFLINE_DLL bool SampleTrack(const RawFloatTrack& _track,
float _ratio, float* _value);
template OZZ_ANIMOFFLINE_DLL bool SampleTrack(const RawFloat2Track& _track,
float _ratio,
math::Float2* _value);
template OZZ_ANIMOFFLINE_DLL bool SampleTrack(const RawFloat3Track& _track,
float _ratio,
math::Float3* _value);
template OZZ_ANIMOFFLINE_DLL bool SampleTrack(const RawFloat4Track& _track,
float _ratio,
math::Float4* _value);
template OZZ_ANIMOFFLINE_DLL bool SampleTrack(const RawQuaternionTrack& _track,
float _ratio,
math::Quaternion* _value);

} // namespace offline
} // namespace animation
Expand Down

0 comments on commit e30712d

Please sign in to comment.