diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-24 08:06:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-24 08:06:58 +0300 |
commit | 9c088b1b97140ad1b814c17f67d8ca55c0a67511 (patch) | |
tree | 0bd59c9454991ee870a868cf83d5bdab7dca2d1a /intern | |
parent | 2b0d08961a722ada55a4d1b8cc342260ce1f706c (diff) |
Cleanup: spelling
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/kernels/opencl/kernel_opencl_image.h | 2 | ||||
-rw-r--r-- | intern/cycles/render/geometry.cpp | 4 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_DropTargetX11.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/kernel/kernels/opencl/kernel_opencl_image.h b/intern/cycles/kernel/kernels/opencl/kernel_opencl_image.h index d87e5f193ad..bb6b8a40e8e 100644 --- a/intern/cycles/kernel/kernels/opencl/kernel_opencl_image.h +++ b/intern/cycles/kernel/kernels/opencl/kernel_opencl_image.h @@ -18,7 +18,7 @@ /* Data type to replace `double` used in the NanoVDB headers. Cycles don't need doubles, and is * safer and more portable to never use double datatype on GPU. * Use a special structure, so that the following is true: - * - No unnoticed implicit cast or mathermatical operations used on scalar 64bit type + * - No unnoticed implicit cast or mathematical operations used on scalar 64bit type * (which rules out trick like using `uint64_t` as a drop-in replacement for double). * - Padding rules are matching exactly `double` * (which rules out array of `uint8_t`). */ diff --git a/intern/cycles/render/geometry.cpp b/intern/cycles/render/geometry.cpp index 38e84cfa8f3..beee0b797ee 100644 --- a/intern/cycles/render/geometry.cpp +++ b/intern/cycles/render/geometry.cpp @@ -1275,8 +1275,8 @@ void GeometryManager::device_update_bvh(Device *device, dscene->prim_tri_verts.give_data(pack.prim_tri_verts); } else { - /* it is not stricly necessary to skip those resizes we if do not have to repack, as the OS - * will not allocate pages if we do not touch them, however it does help catching bugs */ + /* It is not strictly necessary to skip those resizes we if do not have to repack, as the OS + * will not allocate pages if we do not touch them, however it does help catching bugs. */ pack.prim_tri_index.resize(num_prims); pack.prim_tri_verts.resize(num_tri_verts); pack.prim_type.resize(num_prims); diff --git a/intern/ghost/intern/GHOST_DropTargetX11.h b/intern/ghost/intern/GHOST_DropTargetX11.h index 69f6fec7ac1..7d777270317 100644 --- a/intern/ghost/intern/GHOST_DropTargetX11.h +++ b/intern/ghost/intern/GHOST_DropTargetX11.h @@ -109,7 +109,7 @@ class GHOST_DropTargetX11 { /* class holding internal stiff of xdnd library */ static DndClass m_dndClass; - /* list of supported types to eb draggeg into */ + /* list of supported types to be dragged into */ static Atom *m_dndTypes; /* list of supported dran'n'drop actions */ |