mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
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:
parent
108960b946
commit
3e3deb17b6
5 changed files with 6 additions and 6 deletions
|
|
@ -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).
|
||||
* \{ */
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue