Cleanup: spelling
This commit is contained in:
parent
061d76f55c
commit
e062def3b4
|
@ -362,8 +362,8 @@ extern GHOST_TSuccess GHOST_HasCursorShape(GHOST_WindowHandle windowhandle,
|
|||
* \param mask The mask data for the cursor.
|
||||
* \param sizex The width of the cursor
|
||||
* \param sizey The height of the cursor
|
||||
* \param hotX The X coordinate of the cursor hotspot.
|
||||
* \param hotY The Y coordinate of the cursor hotspot.
|
||||
* \param hotX The X coordinate of the cursor hot-spot.
|
||||
* \param hotY The Y coordinate of the cursor hot-spot.
|
||||
* \param canInvertColor Let macOS invert cursor color to match platform convention.
|
||||
* \return Indication of success.
|
||||
*/
|
||||
|
|
|
@ -287,8 +287,8 @@ class GHOST_IWindow {
|
|||
* Set the shape of the cursor to a custom cursor.
|
||||
* \param bitmap The bitmap data for the cursor.
|
||||
* \param mask The mask data for the cursor.
|
||||
* \param hotX The X coordinate of the cursor hotspot.
|
||||
* \param hotY The Y coordinate of the cursor hotspot.
|
||||
* \param hotX The X coordinate of the cursor hot-spot.
|
||||
* \param hotY The Y coordinate of the cursor hot-spot.
|
||||
* \return Indication of success.
|
||||
*/
|
||||
virtual GHOST_TSuccess setCustomCursorShape(GHOST_TUns8 *bitmap,
|
||||
|
|
|
@ -124,8 +124,8 @@ class GHOST_Window : public GHOST_IWindow {
|
|||
* Set the shape of the cursor to a custom cursor.
|
||||
* \param bitmap The bitmap data for the cursor.
|
||||
* \param mask The mask data for the cursor.
|
||||
* \param hotX The X coordinate of the cursor hotspot.
|
||||
* \param hotY The Y coordinate of the cursor hotspot.
|
||||
* \param hotX The X coordinate of the cursor hot-spot.
|
||||
* \param hotY The Y coordinate of the cursor hot-spot.
|
||||
* \return Indication of success.
|
||||
*/
|
||||
GHOST_TSuccess setCustomCursorShape(GHOST_TUns8 *bitmap,
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* a call to a BLI function that is not prototyped here, please add a
|
||||
* prototype here. The library offers mathematical operations (mainly
|
||||
* vector and matrix calculus), an abstraction layer for file i/o,
|
||||
* functions for calculating Perlin noise, scanfilling services for
|
||||
* functions for calculating Perlin noise, scan-filling services for
|
||||
* triangles, and a system for guarded memory
|
||||
* allocation/deallocation. There is also a patch to make MS Windows
|
||||
* behave more or less Posix-compliant.
|
||||
|
|
|
@ -291,7 +291,7 @@ eFileAttributes BLI_file_attributes(const char *path)
|
|||
/* Return alias/shortcut file target. Apple version is defined in storage_apple.mm */
|
||||
#ifndef __APPLE__
|
||||
bool BLI_file_alias_target(
|
||||
/* This parameter can only be const on non-windows plaforms.
|
||||
/* This parameter can only be const on non-windows platforms.
|
||||
* NOLINTNEXTLINE: readability-non-const-parameter. */
|
||||
char target[FILE_MAXDIR],
|
||||
const char *filepath)
|
||||
|
|
|
@ -315,7 +315,7 @@ static void blo_update_defaults_scene(Main *bmain, Scene *scene)
|
|||
copy_v2_fl2(scene->safe_areas.title, 0.1f, 0.05f);
|
||||
copy_v2_fl2(scene->safe_areas.action, 0.035f, 0.035f);
|
||||
|
||||
/* Change default cubemap quality. */
|
||||
/* Change default cube-map quality. */
|
||||
scene->eevee.gi_filter_quality = 3.0f;
|
||||
|
||||
/* Enable Soft Shadows by default. */
|
||||
|
|
|
@ -486,7 +486,7 @@ void EEVEE_downsample_buffer(EEVEE_Data *vedata, GPUTexture *texture_src, int le
|
|||
}
|
||||
|
||||
/**
|
||||
* Simple down-sampling algorithm for cubemap. Reconstruct mip chain up to mip level.
|
||||
* Simple down-sampling algorithm for cube-map. Reconstruct mip chain up to mip level.
|
||||
*/
|
||||
void EEVEE_downsample_cube_buffer(EEVEE_Data *vedata, GPUTexture *texture_src, int level)
|
||||
{
|
||||
|
|
|
@ -113,7 +113,7 @@ typedef struct EEVEE_LightBake {
|
|||
float samples_ct, invsamples_ct;
|
||||
/** Sampling bias during convolution step. */
|
||||
float lod_factor;
|
||||
/** Max cubemap LOD to sample when convolving. */
|
||||
/** Max cube-map LOD to sample when convolving. */
|
||||
float lod_max;
|
||||
/** Number of probes to render + world probe. */
|
||||
int cube_len, grid_len;
|
||||
|
@ -121,7 +121,7 @@ typedef struct EEVEE_LightBake {
|
|||
/* Irradiance grid */
|
||||
/** Current probe being rendered (UBO data). */
|
||||
EEVEE_LightGrid *grid;
|
||||
/** Target cubemap at MIP 0. */
|
||||
/** Target cube-map at MIP 0. */
|
||||
int irr_cube_res;
|
||||
/** Size of the irradiance texture. */
|
||||
int irr_size[3];
|
||||
|
@ -145,7 +145,7 @@ typedef struct EEVEE_LightBake {
|
|||
/* Reflection probe */
|
||||
/** Current probe being rendered (UBO data). */
|
||||
EEVEE_LightProbe *cube;
|
||||
/** Target cubemap at MIP 0. */
|
||||
/** Target cube-map at MIP 0. */
|
||||
int ref_cube_res;
|
||||
/** Index of the current cube. */
|
||||
int cube_offset;
|
||||
|
|
|
@ -314,7 +314,7 @@ static void gizmo_cage3d_draw_intern(
|
|||
}
|
||||
|
||||
if (select) {
|
||||
/* expand for hotspot */
|
||||
/* Expand for hot-spot. */
|
||||
#if 0
|
||||
const float size[3] = {
|
||||
size_real[0] + margin[0] / 2,
|
||||
|
|
|
@ -55,10 +55,10 @@ static void UVsToTransData(const float aspect[2],
|
|||
float calc_dist,
|
||||
bool selected)
|
||||
{
|
||||
/* uv coords are scaled by aspects. this is needed for rotations and
|
||||
* proportional editing to be consistent with the stretched uv coords
|
||||
* that are displayed. this also means that for display and numinput,
|
||||
* and when the uv coords are flushed, these are converted each time */
|
||||
/* UV coords are scaled by aspects. this is needed for rotations and
|
||||
* proportional editing to be consistent with the stretched UV coords
|
||||
* that are displayed. this also means that for display and number-input,
|
||||
* and when the UV coords are flushed, these are converted each time. */
|
||||
td2d->loc[0] = uv[0] * aspect[0];
|
||||
td2d->loc[1] = uv[1] * aspect[1];
|
||||
td2d->loc[2] = 0.0f;
|
||||
|
@ -202,7 +202,7 @@ static void uv_set_connectivity_distance(BMesh *bm, float *dists, const float as
|
|||
sub_v2_v2v2(uvdiff, connected_uv, other_uv);
|
||||
/* Check if this loop is connected in UV space.
|
||||
* If the uv loops share the same selection state (if not, they are not connected as
|
||||
* they have been ripped or other edit commands have seperated them). */
|
||||
* they have been ripped or other edit commands have separated them). */
|
||||
bool connected = other_vert_sel == connected_vert_sel &&
|
||||
fabsf(uvdiff[0]) < STD_UV_CONNECT_LIMIT &&
|
||||
fabsf(uvdiff[1]) < STD_UV_CONNECT_LIMIT;
|
||||
|
|
|
@ -348,7 +348,7 @@ void gpu_extensions_init(void)
|
|||
GG.mip_render_workaround = true;
|
||||
}
|
||||
|
||||
/* Intel Ivy Bridge GPU's seems to have buggy cubemap array support. (see T75943) */
|
||||
/* Intel Ivy Bridge GPU's seems to have buggy cube-map array support. (see T75943) */
|
||||
if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_WIN, GPU_DRIVER_OFFICIAL) &&
|
||||
(strstr(renderer, "HD Graphics 4000") || strstr(renderer, "HD Graphics 2500"))) {
|
||||
GG.glew_arb_texture_cube_map_array_is_supported = false;
|
||||
|
|
|
@ -969,8 +969,8 @@ void ArmatureImporter::make_shape_keys(bContext *C)
|
|||
|
||||
/* insert other shape keys */
|
||||
for (int i = 0; i < morphTargetIds.getCount(); i++) {
|
||||
/* better to have a separate map of morph objects,
|
||||
* This'll do for now since only mesh morphing is imported */
|
||||
/* Better to have a separate map of morph objects,
|
||||
* This will do for now since only mesh morphing is imported. */
|
||||
|
||||
Mesh *me = this->mesh_importer->get_mesh_by_geom_uid(morphTargetIds[i]);
|
||||
|
||||
|
|
|
@ -902,7 +902,7 @@ static void do_2d_mapping(
|
|||
float fx, fy, fac1, area[8];
|
||||
int ok, proj, areaflag = 0, wrap;
|
||||
|
||||
/* mtex variables localized, only cubemap doesn't cooperate yet... */
|
||||
/* #MTex variables localized, only cube-map doesn't cooperate yet. */
|
||||
wrap = mtex->mapping;
|
||||
tex = mtex->tex;
|
||||
|
||||
|
|
Loading…
Reference in New Issue