Cleanup: spelling

This commit is contained in:
Campbell Barton 2021-05-20 17:55:35 +10:00
parent a5ac062c51
commit 44e7192745
4 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@
inline void copy_ghost_pose_to_openxr_pose(const GHOST_XrPose &ghost_pose, XrPosef &r_oxr_pose)
{
/* Set and convert to OpenXR coodinate space. */
/* Set and convert to OpenXR coordinate space. */
r_oxr_pose.position.x = ghost_pose.position[0];
r_oxr_pose.position.y = ghost_pose.position[1];
r_oxr_pose.position.z = ghost_pose.position[2];

View File

@ -45,7 +45,7 @@ struct AttributeMetaData {
};
/**
* Base class for the attribute intializer types described below.
* Base class for the attribute initializer types described below.
*/
struct AttributeInit {
enum class Type {

View File

@ -679,7 +679,7 @@ class PositionAttributeProvider final : public BuiltinPointAttributeProvider<flo
}
/* Use the regular position virtual array when there aren't any Bezier splines
* to avoid the overhead of thecking the spline type for every point. */
* to avoid the overhead of checking the spline type for every point. */
if (!curve_has_bezier_spline) {
return BuiltinPointAttributeProvider<float3>::try_get_for_write(component);
}

View File

@ -565,9 +565,9 @@ static void join_curve_splines(Span<GeometryInstanceGroup> set_groups, CurveComp
for (SplinePtr &spline : new_curve->splines()) {
/* Spline instances should have no custom attributes, since they always come
* from original objects which currenty do not support custom attributes.
* from original objects which currently do not support custom attributes.
*
* This is only true as long as a GeometrySet cannot be instanced directly. */
* This is only true as long as a #GeometrySet cannot be instanced directly. */
BLI_assert(spline->attributes.data.totlayer == 0);
UNUSED_VARS_NDEBUG(spline);
}