Cleanup: spelling in comments
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
* The commonly detected CPU capabilities are:
|
||||
* - Family: `ARCH_CPU_<FAMILY>_FAMILY`
|
||||
* - CPU bitness: `ARCH_CPU_<32|64>_BITS`
|
||||
* - Endianess: `ARCH_CPU_<LITTLE|BIG>_ENDIAN`
|
||||
* - Endianness: `ARCH_CPU_<LITTLE|BIG>_ENDIAN`
|
||||
*
|
||||
* Supported CPU families: X86, S390, PPC, ARM, MIPS.
|
||||
*/
|
||||
@@ -50,9 +50,9 @@
|
||||
|
||||
/**
|
||||
* All commonly used symbols (which are checked on a "top" level, from outside of any
|
||||
* platform-specific ifdef block) are to be explicitly defined to 0 when they are not "active".
|
||||
* platform-specific `ifdef` block) are to be explicitly defined to 0 when they are not "active".
|
||||
* Such an approach helps catching cases when one is attempted to access build configuration
|
||||
* variable without including the header by simply using the -Wundef compiler attribute.
|
||||
* variable without including the header by simply using the `-Wundef` compiler attribute.
|
||||
*/
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
@@ -62,7 +62,7 @@
|
||||
#if defined(__native_client__)
|
||||
/* __native_client__ must be first, so that other OS_ defines are not set. */
|
||||
# define OS_NACL 1
|
||||
/* OS_NACL comes in two sandboxing technology flavors, SFI or Non-SFI. PNaCl toolchain defines
|
||||
/* OS_NACL comes in two sand-boxing technology flavors, SFI or Non-SFI. PNaCl toolchain defines
|
||||
* __native_client_nonsfi__ macro in Non-SFI build mode, while it does not in SFI build mode. */
|
||||
# if defined(__native_client_nonsfi__)
|
||||
# define OS_NACL_NONSFI
|
||||
@@ -75,7 +75,7 @@
|
||||
# define OS_ANDROID 1
|
||||
#elif defined(__APPLE__)
|
||||
/* Only include TargetConditions after testing ANDROID as some android builds on mac don't have
|
||||
* this header available and it's not needed unless the target is really mac/ios. */
|
||||
* this header available and it's not needed unless the target is really mac/IOS. */
|
||||
# include <TargetConditionals.h>
|
||||
# define OS_MAC 1
|
||||
# if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
|
||||
@@ -87,10 +87,10 @@
|
||||
# define OS_HPUX 1
|
||||
#elif defined(__linux__)
|
||||
# define OS_LINUX 1
|
||||
/* Include a system header to pull in features.h for glibc/uclibc macros. */
|
||||
/* Include a system header to pull in features.h for GLIBC/UCLIBC macros. */
|
||||
# include <unistd.h>
|
||||
# if defined(__GLIBC__) && !defined(__UCLIBC__)
|
||||
/* We really are using glibc, not uClibc pretending to be glibc. */
|
||||
/* We really are using GLIBC, not UCLIBC pretending to be GLIBC. */
|
||||
# define LIBC_GLIBC 1
|
||||
# endif
|
||||
#elif defined(__sgi)
|
||||
|
||||
@@ -1800,7 +1800,7 @@ static void *read_struct(FileData *fd, BHead *bh, const char *blockname, const i
|
||||
BHead *bh_orig = bh;
|
||||
#endif
|
||||
|
||||
/* Endianess switch is based on file DNA.
|
||||
/* Endianness switch is based on file DNA.
|
||||
*
|
||||
* NOTE: raw data (aka #SDNA_RAW_DATA_STRUCT_INDEX #SDNAnr) is not handled here, it's up to
|
||||
* the calling code to manage this. */
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/** \file
|
||||
* \ingroup draw_engine
|
||||
*
|
||||
* Overlay antialiasing:
|
||||
* Overlay anti-aliasing:
|
||||
*
|
||||
* Most of the overlays are wires which causes a lot of flickering in motions
|
||||
* due to aliasing problems.
|
||||
|
||||
@@ -11,7 +11,7 @@ void main()
|
||||
vert_in.lN = vnor;
|
||||
vert_in.e_data = data;
|
||||
|
||||
/* Vertex, Facedot and Face case. */
|
||||
/* Vertex, Face-dot and Face case. */
|
||||
VertOut vert_out = vertex_main(vert_in);
|
||||
|
||||
gl_Position = vert_out.gpu_position;
|
||||
|
||||
@@ -11,7 +11,7 @@ void main()
|
||||
vert_in.lN = vnor;
|
||||
vert_in.e_data = data;
|
||||
|
||||
/* Vertex, Facedot and Face case. */
|
||||
/* Vertex, Face-dot and Face case. */
|
||||
VertOut vert_out = vertex_main(vert_in);
|
||||
|
||||
gl_Position = vert_out.gpu_position;
|
||||
|
||||
@@ -11,7 +11,7 @@ void main()
|
||||
vert_in.lN = vnor;
|
||||
vert_in.e_data = data;
|
||||
|
||||
/* Vertex, Facedot and Face case. */
|
||||
/* Vertex, Face-dot and Face case. */
|
||||
VertOut vert_out = vertex_main(vert_in);
|
||||
|
||||
gl_Position = vert_out.gpu_position;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/**
|
||||
* Render shadow casters extrusion caps.
|
||||
* Manifold meshes generate caps for triangles facing the light.
|
||||
* Non-Manifold meshes generate caps for all triangles and invert the winding for backfacing ones.
|
||||
* Non-Manifold meshes generate caps for all triangles and invert the winding for back-facing ones.
|
||||
*
|
||||
* This shader uses triangle primitive to know the geometric normals of a triangle.
|
||||
* Two triangles are generated for each original triangle facing the light. One in front of the
|
||||
|
||||
@@ -348,7 +348,7 @@ void project_translations(MutableSpan<float3> translations, const float3 &plane)
|
||||
* translations. This is used for tools that calculate new positions based on the original
|
||||
* positions for the entirety of an operation. Conceptually this is the same as resetting the
|
||||
* positions before each step of the operation, but combining that into the same loop should be
|
||||
* preferrable for performance.
|
||||
* preferable for performance.
|
||||
*/
|
||||
void reset_translations_to_original(MutableSpan<float3> translations,
|
||||
Span<float3> positions,
|
||||
|
||||
@@ -135,8 +135,8 @@ bool report_if_shape_key_is_locked(const Object &ob, ReportList *reports)
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Sculpt bke::pbvh::Tree Abstraction API
|
||||
*
|
||||
* This is read-only, for writing use bke::pbvh::Tree vertex iterators. There vd.index matches
|
||||
* the indices used here.
|
||||
* This is read-only, for writing use #bke::pbvh::Tree vertex iterators.
|
||||
* There `vd.index` matches the indices used here.
|
||||
*
|
||||
* For multi-resolution, the same vertex in multiple grids is counted multiple times, with
|
||||
* different index for each grid.
|
||||
|
||||
@@ -134,7 +134,7 @@ typedef struct SDNA {
|
||||
/**
|
||||
* The struct index representing type-less bytes buffers.
|
||||
*
|
||||
* Although code has historically (pre-4.3) be fairly flacky (logically incorrect, see inline
|
||||
* Although code has historically (pre-4.3) be fairly flaky (logically incorrect, see inline
|
||||
* code-comments for #DNA_struct_get_compareflags regarding this), most of read/write blend-file
|
||||
* code would assume that the `0` value was raw data, so keep it at this value.
|
||||
*/
|
||||
|
||||
@@ -404,6 +404,7 @@ dict_custom = {
|
||||
"thumbstick",
|
||||
"tokenize",
|
||||
"tokenizing",
|
||||
"toolchain",
|
||||
"trackpad",
|
||||
"transcode",
|
||||
"transmissive",
|
||||
|
||||
Reference in New Issue
Block a user