Skip to content

Commit

Permalink
Fixes display function documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeblanc committed Apr 1, 2024
1 parent 8c18718 commit 5da384c
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion samples/additive/sample_additive.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ class AdditiveBlendSampleApplication : public ozz::sample::Application {
additive_weigths_[1] = .5f + std::cos(t * 2.5f) * .5f;
}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
return _renderer->DrawPosture(skeleton_, make_span(models_),
ozz::math::Float4x4::identity());
Expand Down
1 change: 0 additions & 1 deletion samples/attach/sample_attach.cc
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ class AttachSampleApplication : public ozz::sample::Application {
return true;
}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
if (!_renderer->DrawPosture(skeleton_, make_span(models_),
ozz::math::Float4x4::identity())) {
Expand Down
1 change: 0 additions & 1 deletion samples/baked/sample_baked.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ class BakedSampleApplication : public ozz::sample::Application {

virtual void OnDestroy() {}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
// Render a 1m size boxes for every joint. The scale of each box come from
// the animation.
Expand Down
1 change: 0 additions & 1 deletion samples/blend/sample_blend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ class BlendSampleApplication : public ozz::sample::Application {
}
}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
return _renderer->DrawPosture(skeleton_, make_span(models_),
ozz::math::Float4x4::identity());
Expand Down
1 change: 0 additions & 1 deletion samples/look_at/sample_look_at.cc
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ class LookAtSampleApplication : public ozz::sample::Application {
return true;
}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
bool success = true;
const ozz::math::Float4x4 identity = ozz::math::Float4x4::identity();
Expand Down
1 change: 0 additions & 1 deletion samples/optimize/sample_optimize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ class OptimizeSampleApplication : public ozz::sample::Application {
}
}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
bool success = true;

Expand Down
1 change: 0 additions & 1 deletion samples/partial_blend/sample_partial_blend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class PartialBlendSampleApplication : public ozz::sample::Application {
return true;
}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
return _renderer->DrawPosture(skeleton_, make_span(models_),
ozz::math::Float4x4::identity());
Expand Down
1 change: 0 additions & 1 deletion samples/playback/sample_playback.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ class PlaybackSampleApplication : public ozz::sample::Application {
return true;
}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
return _renderer->DrawPosture(skeleton_, make_span(models_),
ozz::math::Float4x4::identity());
Expand Down
1 change: 0 additions & 1 deletion samples/skinning/sample_skinning.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ class SkinningSampleApplication : public ozz::sample::Application {
return true;
}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
bool success = true;
const ozz::math::Float4x4 transform = ozz::math::Float4x4::identity();
Expand Down
1 change: 0 additions & 1 deletion samples/user_channel/sample_user_channel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ class UserChannelSampleApplication : public ozz::sample::Application {
return true;
}

// Samples animation, transforms to model space and renders.
virtual bool OnDisplay(ozz::sample::Renderer* _renderer) {
bool success = true;

Expand Down

0 comments on commit 5da384c

Please sign in to comment.