Cleanup: Spelling in intern/cycles directory

Fixes the following misspellings:

"indicies" -> "indices"
"Remapp" -> "Remap"
"Consine" -> "Cosine"
"Renderman" -> "RenderMan"
"Compution" -> "Compute"

Pull Request: https://projects.blender.org/blender/blender/pulls/164180
This commit is contained in:
Xury Greer 2026-09-21 13:14:00 +02:00 • committed by Brecht Van Lommel
parent 108960b946
commit 3e3deb17b6
5 changed files with 6 additions and 6 deletions

View file

@ -135,7 +135,7 @@ struct Coat {
/* -------------------------------------------------------------------- */
/** \name GGX LUT Index Mapping Functions
*
* This section contains functions to map from GGX alphas, IOR, and mu to the indicies of
* This section contains functions to map from GGX alphas, IOR, and mu to the indices of
* 2D and 3D LUTs (e.g., for multi-scatter GGX energy compensation or scattering albedos).
* \{ */

View file

@ -235,7 +235,7 @@ ccl_device_inline bool subsurface_random_walk(KernelGlobals kg,
bool van_de_hulst;
if (anisotropy >= 1.0f) {
/* Legacy random walk was mapped from (-1, 1) to (1, 3) when stored in integrator state.
* Remapp to the original value. */
* Remap to the original value. */
anisotropy -= 2.0f;
/* Legacy mapping doesn't support negative range, use Van de Hulst instead. */
van_de_hulst = anisotropy < 0.0f;

View file

@ -27,7 +27,7 @@
CCL_NAMESPACE_BEGIN
/* Consine of the angle subtended by the smallest enclosing sphere of the node bounding box. */
/* Cosine of the angle subtended by the smallest enclosing sphere of the node bounding box. */
ccl_device float light_tree_cos_bound_subtended_angle(const KernelBoundingBox bbox,
const float3 centroid,
const float3 P)

View file

@ -33,7 +33,7 @@ class OSLCameraParamQuery {
/* Camera
*
* The camera parameters are quite standard, tested to be both compatible with
* Renderman, and Blender after remapping.
* RenderMan, and Blender after remapping.
*/
class Camera : public Node {

View file

@ -347,7 +347,7 @@ void SubdAttributeInterpolation::setup_attribute_vertex_smooth(const Attribute &
osd_data.patch_table->EvaluateBasis(handle, uv.x, uv.y, p_weights, du_weights, dv_weights);
Far::ConstIndexArray cv = osd_data.patch_table->GetPatchVertices(handle);
/* Compution position. */
/* Compute position. */
typename T::AccumType value = subd_data[cv[0]] * p_weights[0];
for (int k = 1; k < cv.size(); k++) {
value += subd_data[cv[k]] * p_weights[k];
@ -527,7 +527,7 @@ void SubdAttributeInterpolation::setup_attribute_corner_smooth(Attribute &mesh_a
channel);
Far::ConstIndexArray cv = osd_data.patch_table->GetPatchFVarValues(handle, channel);
/* Compution position. */
/* Compute position. */
typename T::AccumType value = subd_data[cv[0]] * p_weights[0];
for (int k = 1; k < cv.size(); k++) {
value += subd_data[cv[k]] * p_weights[k];