Updated ozz-animation to version 0.14.1 @35b2efd4
This commit is contained in:
@@ -22,14 +22,14 @@ struct SimpleAnimFixture {
|
||||
ozz::animation::offline::RawAnimation raw_animation_translation_y;
|
||||
ozz::unique_ptr<ozz::animation::Animation> animation_translate_y = nullptr;
|
||||
ozz::vector<ozz::math::SoaTransform> animation_output;
|
||||
ozz::animation::SamplingCache sampling_cache;
|
||||
ozz::animation::SamplingJob::Context sampling_context;
|
||||
|
||||
SimpleAnimFixture() {
|
||||
createSkeleton();
|
||||
createAnimations();
|
||||
|
||||
animation_output.resize(skeleton->num_soa_joints());
|
||||
sampling_cache.Resize(skeleton->num_joints());
|
||||
sampling_context.Resize(skeleton->num_joints());
|
||||
}
|
||||
|
||||
void createSkeleton() {
|
||||
@@ -103,7 +103,7 @@ TEST_CASE_METHOD(
|
||||
|
||||
ozz::animation::SamplingJob sampling_job;
|
||||
sampling_job.animation = animation_translate_x.get();
|
||||
sampling_job.cache = &sampling_cache;
|
||||
sampling_job.context = &sampling_context;
|
||||
sampling_job.ratio = 1.f;
|
||||
sampling_job.output = make_span(animation_output);
|
||||
REQUIRE(sampling_job.Run());
|
||||
|
||||
Reference in New Issue
Block a user