Cleanup: spelling in comments

This commit is contained in:
Campbell Barton 2024-02-02 10:48:22 +11:00
parent e72c9397f5
commit 8b827a5bb5
4 changed files with 5 additions and 5 deletions

View File

@ -211,14 +211,14 @@ static bool angle_close(float a, float b)
* value shifting etc.
* Note that this code is much more forgiving than the spec. For example, in type A and B,
* the range of vertical angles officially must be either exactly 0°-90° or -90°-90°.
* However, in practise, IES files are all over the place. Therefore, the handling is as
* However, in practice, IES files are all over the place. Therefore, the handling is as
* flexible as possible, and tries to turn any input into something useful. */
void IESFile::process_type_b()
{
/* According to the standard, Type B defines a different coordinate system where the polar axis
* is horizontal, not vertical.
* To avoid overcomplicating the conversion logic, we just transpose the angles and use the
* To avoid over complicating the conversion logic, we just transpose the angles and use the
* regular Type A/C coordinate system. Users can just rotate the light to get the "proper"
* orientation. */
vector<vector<float>> newintensity;

View File

@ -83,7 +83,7 @@ void GPU_storagebuf_copy_sub_from_vertbuf(
/**
* Ensure the ssbo is ready to be used as an indirect buffer in `GPU_batch_draw_indirect`.
* NOTE: Internallly, this is only required for the OpenGL backend.
* NOTE: Internally, this is only required for the OpenGL backend.
*/
void GPU_storagebuf_sync_as_indirect_buffer(GPUStorageBuf *ssbo);

View File

@ -69,7 +69,7 @@ class GLContext : public Context {
static bool generate_mipmap_workaround;
static float derivative_signs[2];
/** VBO for missing vertex attrib binding. Avoid undefined behavior on some implementation. */
/** VBO for missing vertex attribute binding. Avoid undefined behavior on some implementation. */
GLuint default_attr_vbo_;
/** Used for debugging purpose. Bitflags of all bound slots. */

View File

@ -127,7 +127,7 @@ class USDStageReader {
* \param prim: Root of the subtree to convert to readers
* \param pruned_prims: Set of paths to prune when iterating over the
* stage during conversion. I.e., these prims
* and their descendents will not be converted to
* and their descendants will not be converted to
* readers.
* \param defined_prims_only: If true, only defined prims will be converted,
* skipping abstract and over prims. This should