diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-19 03:02:52 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-19 04:17:01 +0300 |
commit | 3e2017491ae62ed1b6436484b227ef7542f599aa (patch) | |
tree | f951f2b9e8a866ef64115f11cc5c1d9b035dd699 /source/blender/draw/engines/eevee_next/eevee_velocity.cc | |
parent | 30e666f747bae89d50029cbcc505ffa9a12ab05e (diff) |
Cleanup: spelling in comments & move doc-strings to headers
Diffstat (limited to 'source/blender/draw/engines/eevee_next/eevee_velocity.cc')
-rw-r--r-- | source/blender/draw/engines/eevee_next/eevee_velocity.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/draw/engines/eevee_next/eevee_velocity.cc b/source/blender/draw/engines/eevee_next/eevee_velocity.cc index c556ba21fb5..9f8dce43910 100644 --- a/source/blender/draw/engines/eevee_next/eevee_velocity.cc +++ b/source/blender/draw/engines/eevee_next/eevee_velocity.cc @@ -74,7 +74,7 @@ void VelocityModule::step_camera_sync() bool VelocityModule::step_object_sync(Object *ob, ObjectKey &object_key, - int /* IDRecalcFlag */ recalc) + int /*IDRecalcFlag*/ recalc) { bool has_motion = object_has_velocity(ob) || (recalc & ID_RECALC_TRANSFORM); /* NOTE: Fragile. This will only work with 1 frame of lag since we can't record every geometry @@ -175,7 +175,7 @@ bool VelocityModule::step_object_sync(Object *ob, void VelocityModule::step_swap() { { - /* Now that vertex buffers are garanteed to be updated, proceed with + /* Now that vertex buffers are guaranteed to be updated, proceed with * offset computation and copy into the geometry step buffer. */ uint dst_ofs = 0; for (VelocityGeometryData &geom : geometry_map.values()) { @@ -184,8 +184,8 @@ void VelocityModule::step_swap() geom.ofs = dst_ofs; dst_ofs += src_len; } - /* TODO(fclem): Fail gracefully (disable motion blur + warning print) if tot_len * - * sizeof(float4) is greater than max SSBO size. */ + /* TODO(@fclem): Fail gracefully (disable motion blur + warning print) if + `tot_len * sizeof(float4)` is greater than max SSBO size. */ geometry_steps[step_]->resize(max_ii(16, dst_ofs)); for (VelocityGeometryData &geom : geometry_map.values()) { |