From 6c3e812d10c83f5ec4b8545b54357ac7bed6495c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:32:46 -0500 Subject: [PATCH 01/89] spelling: aborted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISoundStopEventReceiver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/ik_ISoundStopEventReceiver.h b/includes/irrKlang/ik_ISoundStopEventReceiver.h index 511a8b0..df5eb42 100644 --- a/includes/irrKlang/ik_ISoundStopEventReceiver.h +++ b/includes/irrKlang/ik_ISoundStopEventReceiver.h @@ -55,7 +55,7 @@ public: the user thread is calling ISoundEngine::update(). \param sound: Sound which has been stopped. \param reason: The reason why the sound stop event was fired. Usually, this will be ESEC_SOUND_FINISHED_PLAYING. - When the sound was aborded by calling ISound::stop() or ISoundEngine::stopAllSounds();, this would be + When the sound was aborted by calling ISound::stop() or ISoundEngine::stopAllSounds();, this would be ESEC_SOUND_STOPPED_BY_USER. If irrKlang was deleted or the sound source was removed, the value is ESEC_SOUND_STOPPED_BY_SOURCE_REMOVAL. \param userData: userData pointer set by the user when registering the interface From 3ab63e16df425cf7692041e484ba925ff4f6ca56 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:26 -0500 Subject: [PATCH 02/89] spelling: access Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_IFileReader.h | 2 +- includes/irrKlang/ik_ISoundEffectControl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/irrKlang/ik_IFileReader.h b/includes/irrKlang/ik_IFileReader.h index 818fe1a..8d138c3 100644 --- a/includes/irrKlang/ik_IFileReader.h +++ b/includes/irrKlang/ik_IFileReader.h @@ -10,7 +10,7 @@ namespace irrklang { - //! Interface providing read acess to a file. + //! Interface providing read access to a file. class IFileReader : public virtual IRefCounted { public: diff --git a/includes/irrKlang/ik_ISoundEffectControl.h b/includes/irrKlang/ik_ISoundEffectControl.h index 86ade35..ce5c0e2 100644 --- a/includes/irrKlang/ik_ISoundEffectControl.h +++ b/includes/irrKlang/ik_ISoundEffectControl.h @@ -16,7 +16,7 @@ namespace irrklang be controlled using this. An instance of this interface can be obtained via ISound::getSoundEffectControl(). The sound containing this interface has to be started via ISoundEngine::play2D() or ISoundEngine::play3D() with the flag enableSoundEffects=true, - otherwise no acccess to this interface will be available. + otherwise no access to this interface will be available. For the DirectSound driver, these are effects available since DirectSound8. For most effects, sounds should have a sample rate of 44 khz and should be at least 150 milli seconds long for optimal quality when using the DirectSound driver. From 42c5ad78bba5f0cb478a05acf44b62e789ccd488 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:48:58 -0500 Subject: [PATCH 03/89] spelling: all Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/2.lighting/1.colors/1.light_cube.fs | 2 +- src/2.lighting/2.1.basic_lighting_diffuse/2.1.light_cube.fs | 2 +- src/2.lighting/2.2.basic_lighting_specular/2.2.light_cube.fs | 2 +- src/2.lighting/3.1.materials/3.1.light_cube.fs | 2 +- src/2.lighting/3.2.materials_exercise1/3.2.light_cube.fs | 2 +- src/2.lighting/4.1.lighting_maps_diffuse_map/4.1.light_cube.fs | 2 +- src/2.lighting/4.2.lighting_maps_specular_map/4.2.light_cube.fs | 2 +- src/2.lighting/4.4.lighting_maps_exercise4/4.4.light_cube.fs | 2 +- src/2.lighting/5.1.light_casters_directional/5.1.light_cube.fs | 2 +- src/2.lighting/5.2.light_casters_point/5.2.light_cube.fs | 2 +- src/2.lighting/5.3.light_casters_spot/5.3.light_cube.fs | 2 +- src/2.lighting/5.4.light_casters_spot_soft/5.4.light_cube.fs | 2 +- src/2.lighting/6.multiple_lights/6.light_cube.fs | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/2.lighting/1.colors/1.light_cube.fs b/src/2.lighting/1.colors/1.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/1.colors/1.light_cube.fs +++ b/src/2.lighting/1.colors/1.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/2.1.basic_lighting_diffuse/2.1.light_cube.fs b/src/2.lighting/2.1.basic_lighting_diffuse/2.1.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/2.1.basic_lighting_diffuse/2.1.light_cube.fs +++ b/src/2.lighting/2.1.basic_lighting_diffuse/2.1.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/2.2.basic_lighting_specular/2.2.light_cube.fs b/src/2.lighting/2.2.basic_lighting_specular/2.2.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/2.2.basic_lighting_specular/2.2.light_cube.fs +++ b/src/2.lighting/2.2.basic_lighting_specular/2.2.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/3.1.materials/3.1.light_cube.fs b/src/2.lighting/3.1.materials/3.1.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/3.1.materials/3.1.light_cube.fs +++ b/src/2.lighting/3.1.materials/3.1.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/3.2.materials_exercise1/3.2.light_cube.fs b/src/2.lighting/3.2.materials_exercise1/3.2.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/3.2.materials_exercise1/3.2.light_cube.fs +++ b/src/2.lighting/3.2.materials_exercise1/3.2.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/4.1.lighting_maps_diffuse_map/4.1.light_cube.fs b/src/2.lighting/4.1.lighting_maps_diffuse_map/4.1.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/4.1.lighting_maps_diffuse_map/4.1.light_cube.fs +++ b/src/2.lighting/4.1.lighting_maps_diffuse_map/4.1.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/4.2.lighting_maps_specular_map/4.2.light_cube.fs b/src/2.lighting/4.2.lighting_maps_specular_map/4.2.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/4.2.lighting_maps_specular_map/4.2.light_cube.fs +++ b/src/2.lighting/4.2.lighting_maps_specular_map/4.2.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/4.4.lighting_maps_exercise4/4.4.light_cube.fs b/src/2.lighting/4.4.lighting_maps_exercise4/4.4.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/4.4.lighting_maps_exercise4/4.4.light_cube.fs +++ b/src/2.lighting/4.4.lighting_maps_exercise4/4.4.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/5.1.light_casters_directional/5.1.light_cube.fs b/src/2.lighting/5.1.light_casters_directional/5.1.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/5.1.light_casters_directional/5.1.light_cube.fs +++ b/src/2.lighting/5.1.light_casters_directional/5.1.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/5.2.light_casters_point/5.2.light_cube.fs b/src/2.lighting/5.2.light_casters_point/5.2.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/5.2.light_casters_point/5.2.light_cube.fs +++ b/src/2.lighting/5.2.light_casters_point/5.2.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/5.3.light_casters_spot/5.3.light_cube.fs b/src/2.lighting/5.3.light_casters_spot/5.3.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/5.3.light_casters_spot/5.3.light_cube.fs +++ b/src/2.lighting/5.3.light_casters_spot/5.3.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/5.4.light_casters_spot_soft/5.4.light_cube.fs b/src/2.lighting/5.4.light_casters_spot_soft/5.4.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/5.4.light_casters_spot_soft/5.4.light_cube.fs +++ b/src/2.lighting/5.4.light_casters_spot_soft/5.4.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file diff --git a/src/2.lighting/6.multiple_lights/6.light_cube.fs b/src/2.lighting/6.multiple_lights/6.light_cube.fs index 76f765e..1c649f4 100644 --- a/src/2.lighting/6.multiple_lights/6.light_cube.fs +++ b/src/2.lighting/6.multiple_lights/6.light_cube.fs @@ -3,5 +3,5 @@ out vec4 FragColor; void main() { - FragColor = vec4(1.0); // set alle 4 vector values to 1.0 + FragColor = vec4(1.0); // set all 4 vector values to 1.0 } \ No newline at end of file From d34ddada45d2aa4e1dc6bcb2467977130799f7f5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:28 -0500 Subject: [PATCH 04/89] spelling: although Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISoundEngine.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/irrKlang/ik_ISoundEngine.h b/includes/irrKlang/ik_ISoundEngine.h index fdb25e8..bc56411 100644 --- a/includes/irrKlang/ik_ISoundEngine.h +++ b/includes/irrKlang/ik_ISoundEngine.h @@ -51,7 +51,7 @@ namespace irrklang \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this - will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or + will cause memory waste. This method also may return 0 although 'track', 'startPaused' or 'enableSoundEffects' have been set to true, if the sound could not be played.*/ virtual ISound* play2D(const char* soundFileName, bool playLooped = false, @@ -79,7 +79,7 @@ namespace irrklang \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this - will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or + will cause memory waste. This method also may return 0 although 'track', 'startPaused' or 'enableSoundEffects' have been set to true, if the sound could not be played.*/ virtual ISound* play2D(ISoundSource* source, bool playLooped = false, @@ -108,7 +108,7 @@ namespace irrklang \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this - will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or + will cause memory waste. This method also may return 0 although 'track', 'startPaused' or 'enableSoundEffects' have been set to true, if the sound could not be played.*/ virtual ISound* play3D(const char* soundFileName, vec3df pos, bool playLooped = false, @@ -137,7 +137,7 @@ namespace irrklang \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or 'enableSoundEffects' have been set to true. Note: if this method returns an ISound as result, you HAVE to call ISound::drop() after you don't need the ISound interface anymore. Otherwise this - will cause memory waste. This method also may return 0 altough 'track', 'startPaused' or + will cause memory waste. This method also may return 0 although 'track', 'startPaused' or 'enableSoundEffects' have been set to true, if the sound could not be played.*/ virtual ISound* play3D(ISoundSource* source, vec3df pos, bool playLooped = false, From 9aadf392624d7c49c15aa9a72cc3235cfa84846d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:27:16 -0500 Subject: [PATCH 05/89] spelling: another Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_vec3d.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/irrKlang/ik_vec3d.h b/includes/irrKlang/ik_vec3d.h index ce56669..55e62c2 100644 --- a/includes/irrKlang/ik_vec3d.h +++ b/includes/irrKlang/ik_vec3d.h @@ -83,7 +83,7 @@ namespace irrklang return X*other.X + Y*other.Y + Z*other.Z; } - //! Returns distance from an other point. + //! Returns distance from another point. /** Here, the vector is interpreted as point in 3 dimensional space. */ ik_f64 getDistanceFrom(const vec3d& other) const { @@ -91,7 +91,7 @@ namespace irrklang return sqrt(vx*vx + vy*vy + vz*vz); } - //! Returns squared distance from an other point. + //! Returns squared distance from another point. /** Here, the vector is interpreted as point in 3 dimensional space. */ ik_f32 getDistanceFromSQ(const vec3d& other) const { From 281afc8a853723507610804785f5a13f4120520d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:28 -0500 Subject: [PATCH 06/89] spelling: anyways Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/6.pbr/1.2.lighting_textured/1.2.pbr.fs | 2 +- src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.pbr.fs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/6.pbr/1.2.lighting_textured/1.2.pbr.fs b/src/6.pbr/1.2.lighting_textured/1.2.pbr.fs index 4554b2f..df7e9b5 100644 --- a/src/6.pbr/1.2.lighting_textured/1.2.pbr.fs +++ b/src/6.pbr/1.2.lighting_textured/1.2.pbr.fs @@ -21,7 +21,7 @@ const float PI = 3.14159265359; // ---------------------------------------------------------------------------- // Easy trick to get tangent-normals to world-space to keep PBR code simplified. // Don't worry if you don't get what's going on; you generally want to do normal -// mapping the usual way for performance anways; I do plan make a note of this +// mapping the usual way for performance anyways; I do plan make a note of this // technique somewhere later in the normal mapping tutorial. vec3 getNormalFromMap() { diff --git a/src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.pbr.fs b/src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.pbr.fs index b7c2436..8a1e395 100644 --- a/src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.pbr.fs +++ b/src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.pbr.fs @@ -26,7 +26,7 @@ const float PI = 3.14159265359; // ---------------------------------------------------------------------------- // Easy trick to get tangent-normals to world-space to keep PBR code simplified. // Don't worry if you don't get what's going on; you generally want to do normal -// mapping the usual way for performance anways; I do plan make a note of this +// mapping the usual way for performance anyways; I do plan make a note of this // technique somewhere later in the normal mapping tutorial. vec3 getNormalFromMap() { From 428d946f8ffea660ad594d8b992e59393775cbce Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:26:26 -0500 Subject: [PATCH 07/89] spelling: are Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/postprocess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/postprocess.h b/includes/assimp/postprocess.h index 04de7a2..ef359c8 100644 --- a/includes/assimp/postprocess.h +++ b/includes/assimp/postprocess.h @@ -287,7 +287,7 @@ enum aiPostProcessSteps * their work if two meshes have different materials. Because several * material settings are lost during Assimp's import filters, * (and because many exporters don't check for redundant materials), huge - * models often have materials which are are defined several times with + * models often have materials which are defined several times with * exactly the same settings. * * Several material settings not contributing to the final appearance of From 048c73fc7202b5e6aef30106e888e16f704e478a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:29 -0500 Subject: [PATCH 08/89] spelling: arithmetics Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/mesh.h b/includes/assimp/mesh.h index a76a2d7..c029ef5 100644 --- a/includes/assimp/mesh.h +++ b/includes/assimp/mesh.h @@ -506,7 +506,7 @@ struct aiMesh * #define IS_QNAN(f) (f != f) * @endcode * still dangerous because even 1.f == 1.f could evaluate to false! ( - * remember the subtleties of IEEE754 artithmetics). Use stuff like + * remember the subtleties of IEEE754 arithmetics). Use stuff like * @c fpclassify instead. * @note Normal vectors computed by Assimp are always unit-length. * However, this needn't apply for normals that have been taken From 132e5ce0f89c4466242975677ed9355273e9b3d0 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:26:22 -0500 Subject: [PATCH 09/89] spelling: attached Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/mesh.h b/includes/assimp/mesh.h index c029ef5..b5eeb34 100644 --- a/includes/assimp/mesh.h +++ b/includes/assimp/mesh.h @@ -337,7 +337,7 @@ enum aiPrimitiveType * * You may think of an #aiAnimMesh as a `patch` for the host mesh, which * replaces only certain vertex data streams at a particular time. - * Each mesh stores n attached attached meshes (#aiMesh::mAnimMeshes). + * Each mesh stores n attached meshes (#aiMesh::mAnimMeshes). * The actual relationship between the time line and anim meshes is * established by #aiMeshAnim, which references singular mesh attachments * by their ID and binds them to a time offset. From ef16d989e66c7f4772c1fce1cd51457970241a55 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:29 -0500 Subject: [PATCH 10/89] spelling: automatically Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ESoundEngineOptions.h | 6 +++--- includes/irrKlang/ik_ISoundEngine.h | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/irrKlang/ik_ESoundEngineOptions.h b/includes/irrKlang/ik_ESoundEngineOptions.h index df65607..140ebe8 100644 --- a/includes/irrKlang/ik_ESoundEngineOptions.h +++ b/includes/irrKlang/ik_ESoundEngineOptions.h @@ -16,7 +16,7 @@ namespace irrklang { //! If specified (default), it will make irrKlang run in a separate thread. /** Using this flag, irrKlang will update - all streams, sounds, 3d positions and whatever automaticly. You also don't need to call ISoundEngine::update() + all streams, sounds, 3d positions and whatever automatically. You also don't need to call ISoundEngine::update() if irrKlang is running multithreaded. However, if you want to run irrKlang in the same thread as your application (for easier debugging for example), don't set this. But you need to call ISoundEngine::update() as often as you can (at least about 2-3 times per second) to make irrKlang update everything correctly then. */ @@ -26,7 +26,7 @@ namespace irrklang /** This will only work when irrKlang is using the DirectSound output driver. */ ESEO_MUTE_IF_NOT_FOCUSED = 0x02, - //! Automaticly loads external plugins when starting up. + //! Automatically loads external plugins when starting up. /** Plugins usually are .dll, .so or .dylib files named for example ikpMP3.dll (= short for irrKlangPluginMP3) which are executed after the startup of the sound engine and modify it for example to make it possible @@ -60,7 +60,7 @@ namespace irrklang physically correct. Note that this option may not work when used together with the ESEO_USE_3D_BUFFERS option when using Direct3D for example, irrKlang will then turn off ESEO_USE_3D_BUFFERS - automaticly to be able to use this option and write out a warning. */ + automatically to be able to use this option and write out a warning. */ ESEO_LINEAR_ROLLOFF = 0x40, //! Default parameters when starting up the engine. diff --git a/includes/irrKlang/ik_ISoundEngine.h b/includes/irrKlang/ik_ISoundEngine.h index bc56411..cdb3dd5 100644 --- a/includes/irrKlang/ik_ISoundEngine.h +++ b/includes/irrKlang/ik_ISoundEngine.h @@ -35,7 +35,7 @@ namespace irrklang //! loads a sound source (if not loaded already) from a file and plays it. /** \param sourceFileName Filename of sound, like "sounds/test.wav" or "foobar.ogg". \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to - ISound have no effect after such a non looped sound has been stopped automaticly. + ISound have no effect after such a non looped sound has been stopped automatically. \param startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to modify some of the sound parameters and then call ISound::setPaused(false); @@ -66,7 +66,7 @@ namespace irrklang \param source The sound source, specifiying sound file source and default settings for this file. Use the other ISoundEngine::play2D() overloads if you want to specify a filename string instead of this. \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to - ISound have no effect after such a non looped sound has been stopped automaticly. + ISound have no effect after such a non looped sound has been stopped automatically. \param startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to modify some of the sound parameters and then call ISound::setPaused(false); @@ -92,7 +92,7 @@ namespace irrklang \param sourceFileName Filename of sound, like "sounds/test.wav" or "foobar.ogg". \param pos Position of the 3D sound. \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to - ISound have no effect after such a non looped sound has been stopped automaticly. + ISound have no effect after such a non looped sound has been stopped automatically. \param startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to modify some of the sound parameters and then call ISound::setPaused(false); @@ -124,7 +124,7 @@ namespace irrklang Use the other ISoundEngine::play2D() overloads if you want to specify a filename string instead of this. \param pos Position of the 3D sound. \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to - ISound have no effect after such a non looped sound has been stopped automaticly. + ISound have no effect after such a non looped sound has been stopped automatically. \param startPaused starts the sound paused. This implies that track=true. Use this if you want to modify some of the playing parameters before the sound actually plays. Usually you would set this parameter to true, then use the ISound interface to modify some of the sound parameters and then call ISound::setPaused(false); @@ -291,7 +291,7 @@ namespace irrklang /** This updates the 3d positions of the sounds as well as their volumes, effects, streams and other stuff. Call this several times per frame (the more the better) if you specified irrKlang to run single threaded. Otherwise it is not necessary to use this method. - This method is being called by the scene manager automaticly if you are using one, so + This method is being called by the scene manager automatically if you are using one, so you might want to ignore this. */ virtual void update() = 0; From 4d0e446810cc772da3f8c60be1d5df780c372bd9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:30 -0500 Subject: [PATCH 11/89] spelling: basically Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISoundEngine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/ik_ISoundEngine.h b/includes/irrKlang/ik_ISoundEngine.h index cdb3dd5..c1b3298 100644 --- a/includes/irrKlang/ik_ISoundEngine.h +++ b/includes/irrKlang/ik_ISoundEngine.h @@ -311,7 +311,7 @@ namespace irrklang virtual void registerAudioStreamLoader(IAudioStreamLoader* loader) = 0; //! Returns if irrKlang is running in the same thread as the application or is using multithreading. - /** This basicly returns the flag set by the user when creating the sound engine.*/ + /** This basically returns the flag set by the user when creating the sound engine.*/ virtual bool isMultiThreaded() const = 0; //! Adds a file factory to the sound engine, making it possible to override file access of the sound engine. From 4a8807ca23af3eea87fe2b2ec07135a2e83b7cde Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:30 -0500 Subject: [PATCH 12/89] spelling: between Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/geometric.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/glm/geometric.hpp b/includes/glm/geometric.hpp index c068a3c..14bccae 100644 --- a/includes/glm/geometric.hpp +++ b/includes/glm/geometric.hpp @@ -29,7 +29,7 @@ namespace glm template GLM_FUNC_DECL T length(vec const& x); - /// Returns the distance betwwen p0 and p1, i.e., length(p0 - p1). + /// Returns the distance between p0 and p1, i.e., length(p0 - p1). /// /// @tparam L An integer between 1 and 4 included that qualify the dimension of the vector. /// @tparam T Floating-point scalar types. From 3dff8b87c620d24c7813a0a72a98b262625e8399 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:34:14 -0500 Subject: [PATCH 13/89] spelling: branch Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/2.lighting/5.3.light_casters_spot/5.3.light_casters.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/2.lighting/5.3.light_casters_spot/5.3.light_casters.fs b/src/2.lighting/5.3.light_casters_spot/5.3.light_casters.fs index 5f22efe..3030183 100644 --- a/src/2.lighting/5.3.light_casters_spot/5.3.light_casters.fs +++ b/src/2.lighting/5.3.light_casters_spot/5.3.light_casters.fs @@ -57,7 +57,7 @@ void main() float distance = length(light.position - FragPos); float attenuation = 1.0 / (light.constant + light.linear * distance + light.quadratic * (distance * distance)); - // ambient *= attenuation; // remove attenuation from ambient, as otherwise at large distances the light would be darker inside than outside the spotlight due the ambient term in the else branche + // ambient *= attenuation; // remove attenuation from ambient, as otherwise at large distances the light would be darker inside than outside the spotlight due the ambient term in the else branch diffuse *= attenuation; specular *= attenuation; From 36b44583ff4418b64df67b5e02c3447dff6c28af Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:31 -0500 Subject: [PATCH 14/89] spelling: calculate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/8.guest/2020/oit/composite.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/8.guest/2020/oit/composite.fs b/src/8.guest/2020/oit/composite.fs index ab1c21f..ad6c655 100644 --- a/src/8.guest/2020/oit/composite.fs +++ b/src/8.guest/2020/oit/composite.fs @@ -12,7 +12,7 @@ layout (binding = 1) uniform sampler2D reveal; // epsilon number const float EPSILON = 0.00001f; -// caluclate floating point numbers equality accurately +// calculate floating point numbers equality accurately bool isApproximatelyEqual(float a, float b) { return abs(a - b) <= (abs(a) < abs(b) ? abs(b) : abs(a)) * EPSILON; From 09d25ad5e493f378901d2b4a10c0c757e00b5b4d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:50:00 -0500 Subject: [PATCH 15/89] spelling: channels Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/config.h b/includes/assimp/config.h index 3db8a56..de28180 100644 --- a/includes/assimp/config.h +++ b/includes/assimp/config.h @@ -784,7 +784,7 @@ enum aiComponent * * Assimp provides full conversion of LightWave's envelope system, including * pre and post conditions. The loader computes linearly subsampled animation - * chanels with the frame rate given in the LWS file. This property defines + * channels with the frame rate given in the LWS file. This property defines * the start time. Note: animation channels are only generated if a node * has at least one envelope with more tan one key assigned. This property. * is given in frames, '0' is the first frame. By default, if this property From c92f2787c30fe68d779189a6d74ce9d2aa5fe4aa Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:31 -0500 Subject: [PATCH 16/89] spelling: chrome Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/detail/_fixes.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/glm/detail/_fixes.hpp b/includes/glm/detail/_fixes.hpp index a503c7c..64eea0d 100644 --- a/includes/glm/detail/_fixes.hpp +++ b/includes/glm/detail/_fixes.hpp @@ -20,7 +20,7 @@ #undef isinf #endif -//! Workaround for Chrone Native Client +//! Workaround for Chrome Native Client #ifdef log2 #undef log2 #endif From 3f4d5fb0eb308eae96e4639f72668e1622f079ba Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:32 -0500 Subject: [PATCH 17/89] spelling: circumstances Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/irrKlang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/irrKlang.h b/includes/irrKlang/irrKlang.h index 33f9ea0..ba322d9 100644 --- a/includes/irrKlang/irrKlang.h +++ b/includes/irrKlang/irrKlang.h @@ -339,7 +339,7 @@ * \endcode * * There is also the possibility to change the maxDistance, but it is only necessary to change this - * in very rare cicumstances. + * in very rare circumstances. * If the sound moves, it is also a good idea to update its position from time to time: * * \code From 5ac373aca75a23ef1d8ccf471995a9a833b147df Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:32 -0500 Subject: [PATCH 18/89] spelling: color Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/material.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/material.h b/includes/assimp/material.h index 87d27c5..b818c5c 100644 --- a/includes/assimp/material.h +++ b/includes/assimp/material.h @@ -413,7 +413,7 @@ enum aiTextureFlags * SourceColor * SourceBlend + DestColor * DestBlend * @endcode * where DestColor is the previous color in the framebuffer at this - * position and SourceColor is the material colro before the transparency + * position and SourceColor is the material color before the transparency * calculation.
* This corresponds to the #AI_MATKEY_BLEND_FUNC property. */ From 7261f5c23fb6409297e3271228ebf7a7dad2cd0d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:50:18 -0500 Subject: [PATCH 19/89] spelling: column Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/matrix3x3.h | 2 +- includes/assimp/matrix3x3.inl | 2 +- includes/assimp/matrix4x4.inl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/assimp/matrix3x3.h b/includes/assimp/matrix3x3.h index 725b1c3..82fba4c 100644 --- a/includes/assimp/matrix3x3.h +++ b/includes/assimp/matrix3x3.h @@ -151,7 +151,7 @@ public: /** @brief A function for creating a rotation matrix that rotates a * vector called "from" into another vector called "to". * Input : from[3], to[3] which both must be *normalized* non-zero vectors - * Output: mtx[3][3] -- a 3x3 matrix in colum-major form + * Output: mtx[3][3] -- a 3x3 matrix in column-major form * Authors: Tomas M�ller, John Hughes * "Efficiently Building a Matrix to Rotate One Vector to Another" * Journal of Graphics Tools, 4(4):1-4, 1999 diff --git a/includes/assimp/matrix3x3.inl b/includes/assimp/matrix3x3.inl index 9ace3f9..bfc9bfe 100644 --- a/includes/assimp/matrix3x3.inl +++ b/includes/assimp/matrix3x3.inl @@ -240,7 +240,7 @@ inline aiMatrix3x3t& aiMatrix3x3t::Translation( const aiVector2t& aiMatrix4x4t::Scaling( const aiVector3t Date: Wed, 18 Jan 2023 08:34:33 -0500 Subject: [PATCH 20/89] spelling: conversion Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/irrKlang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/irrKlang.h b/includes/irrKlang/irrKlang.h index ba322d9..de2832c 100644 --- a/includes/irrKlang/irrKlang.h +++ b/includes/irrKlang/irrKlang.h @@ -813,7 +813,7 @@ * engine->play2D(strBuffer); * \endcode * - * Of course, you can use any other unicode converion function for this. makeUTF8fromUTF16string() is only provided + * Of course, you can use any other unicode conversion function for this. makeUTF8fromUTF16string() is only provided * for convenience. *
*
From 336d5590d8bf014e32892f499a4b9aa51cbd8a4e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:33 -0500 Subject: [PATCH 21/89] spelling: corresponding Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/anim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/anim.h b/includes/assimp/anim.h index af59417..0e4e58c 100644 --- a/includes/assimp/anim.h +++ b/includes/assimp/anim.h @@ -144,7 +144,7 @@ struct aiMeshKey double mTime; /** Index into the aiMesh::mAnimMeshes array of the - * mesh coresponding to the #aiMeshAnim hosting this + * mesh corresponding to the #aiMeshAnim hosting this * key frame. The referenced anim mesh is evaluated * according to the rules defined in the docs for #aiAnimMesh.*/ unsigned int mValue; From 59cfd0b200a658ea27054dd4f5e9cd78697b3b50 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:34 -0500 Subject: [PATCH 22/89] spelling: cotangent Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/intersect.inl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/glm/gtx/intersect.inl b/includes/glm/gtx/intersect.inl index e76fd62..7035c48 100644 --- a/includes/glm/gtx/intersect.inl +++ b/includes/glm/gtx/intersect.inl @@ -117,13 +117,13 @@ namespace glm if (position.y < typename genType::value_type(0) || position.y > typename genType::value_type(1)) return false; - genType Cotengant = cross(Tengant, edge1); + genType Cotangent = cross(Tengant, edge1); - position.z = dot(dir, Cotengant) * inv_det; + position.z = dot(dir, Cotangent) * inv_det; if (position.z < typename genType::value_type(0) || position.y + position.z > typename genType::value_type(1)) return false; - position.x = dot(edge2, Cotengant) * inv_det; + position.x = dot(edge2, Cotangent) * inv_det; return true; } From af5d245fb3762ce6c0deb498480a51749c569e78 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:34 -0500 Subject: [PATCH 23/89] spelling: covariance Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/image_DXT.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/image_DXT.c b/includes/image_DXT.c index 4206a1b..3d7ca7b 100644 --- a/includes/image_DXT.c +++ b/includes/image_DXT.c @@ -13,7 +13,7 @@ #include #include -/* set this =1 if you want to use the covarince matrix method... +/* set this =1 if you want to use the covariance matrix method... which is better than my method of using standard deviations overall, except on the infintesimal chance that the power method fails for finding the largest eigenvector */ From b556fceef021eaec54e8ea4364f861489a331995 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:35 -0500 Subject: [PATCH 24/89] spelling: custom Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/Importer.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/assimp/Importer.hpp b/includes/assimp/Importer.hpp index 4c01367..94a5923 100644 --- a/includes/assimp/Importer.hpp +++ b/includes/assimp/Importer.hpp @@ -107,7 +107,7 @@ namespace Assimp { * If you need the Importer to do custom file handling to access the files, * implement IOSystem and IOStream and supply an instance of your custom * IOSystem implementation by calling SetIOHandler() before calling ReadFile(). -* If you do not assign a custion IO handler, a default handler using the +* If you do not assign a custom IO handler, a default handler using the * standard C++ IO logic will be used. * * @note One Importer instance is not thread-safe. If you use multiple @@ -291,10 +291,10 @@ public: // ------------------------------------------------------------------- /** Supplies a custom IO handler to the importer to use to open and - * access files. If you need the importer to use custion IO logic to + * access files. If you need the importer to use custom IO logic to * access the files, you need to provide a custom implementation of * IOSystem and IOFile to the importer. Then create an instance of - * your custion IOSystem implementation and supply it by this function. + * your custom IOSystem implementation and supply it by this function. * * The Importer takes ownership of the object and will destroy it * afterwards. The previously assigned handler will be deleted. From 56cc646bc0460e0dfbcbd1b7e89e2672c817090d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:36 -0500 Subject: [PATCH 25/89] spelling: delimiter Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/io.hpp | 6 +++--- includes/glm/gtx/io.inl | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/glm/gtx/io.hpp b/includes/glm/gtx/io.hpp index c247644..27f4787 100644 --- a/includes/glm/gtx/io.hpp +++ b/includes/glm/gtx/io.hpp @@ -129,11 +129,11 @@ namespace glm }; template - struct delimeter + struct delimiter { CTy value[3]; - GLM_FUNC_DECL explicit delimeter(CTy /* left */, CTy /* right */, CTy /* separator */ = ','); + GLM_FUNC_DECL explicit delimiter(CTy /* left */, CTy /* right */, CTy /* separator */ = ','); }; struct order @@ -157,7 +157,7 @@ namespace glm template std::basic_ostream& operator<<(std::basic_ostream&, width const&); template - std::basic_ostream& operator<<(std::basic_ostream&, delimeter const&); + std::basic_ostream& operator<<(std::basic_ostream&, delimiter const&); template std::basic_ostream& operator<<(std::basic_ostream&, order const&); }//namespace io diff --git a/includes/glm/gtx/io.inl b/includes/glm/gtx/io.inl index a3a1bb6..e592bb3 100644 --- a/includes/glm/gtx/io.inl +++ b/includes/glm/gtx/io.inl @@ -80,7 +80,7 @@ namespace io {} template - GLM_FUNC_QUALIFIER delimeter::delimeter(CTy a, CTy b, CTy c) + GLM_FUNC_QUALIFIER delimiter::delimiter(CTy a, CTy b, CTy c) : value() { value[0] = a; @@ -130,7 +130,7 @@ namespace io } template - GLM_FUNC_QUALIFIER std::basic_ostream& operator<<(std::basic_ostream& os, delimeter const& a) + GLM_FUNC_QUALIFIER std::basic_ostream& operator<<(std::basic_ostream& os, delimiter const& a) { format_punct & fmt(const_cast&>(get_facet >(os))); From 3e24f6746fdf68eef6c3276062ac79453144e699 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:37 -0500 Subject: [PATCH 26/89] spelling: detach Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/DefaultLogger.hpp | 4 ++-- includes/assimp/Logger.hpp | 2 +- includes/assimp/NullLogger.hpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/assimp/DefaultLogger.hpp b/includes/assimp/DefaultLogger.hpp index 52574d5..110e0d0 100644 --- a/includes/assimp/DefaultLogger.hpp +++ b/includes/assimp/DefaultLogger.hpp @@ -125,8 +125,8 @@ public: unsigned int severity); // ---------------------------------------------------------------------- - /** @copydoc Logger::detatchStream */ - bool detatchStream(LogStream *pStream, + /** @copydoc Logger::detachStream */ + bool detachStream(LogStream *pStream, unsigned int severity); diff --git a/includes/assimp/Logger.hpp b/includes/assimp/Logger.hpp index 7f355b5..82e1cf0 100644 --- a/includes/assimp/Logger.hpp +++ b/includes/assimp/Logger.hpp @@ -151,7 +151,7 @@ public: * if the result is 0 the stream is detached from the Logger and * the caller retakes the possession of the stream. * @return true if the stream has been detached, false otherwise.*/ - virtual bool detatchStream(LogStream *pStream, + virtual bool detachStream(LogStream *pStream, unsigned int severity = Debugging | Err | Warn | Info) = 0; protected: diff --git a/includes/assimp/NullLogger.hpp b/includes/assimp/NullLogger.hpp index 64b59a4..e80e3c6 100644 --- a/includes/assimp/NullLogger.hpp +++ b/includes/assimp/NullLogger.hpp @@ -84,7 +84,7 @@ public: } /** @brief Detach a still attached stream from logger */ - bool detatchStream(LogStream *pStream, unsigned int severity) { + bool detachStream(LogStream *pStream, unsigned int severity) { (void)pStream; (void)severity; //this avoids compiler warnings return false; } From b461039f7d3d6f66d27c48b8f668eb1a5aebbf21 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:36 -0500 Subject: [PATCH 27/89] spelling: device Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISoundEngine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/ik_ISoundEngine.h b/includes/irrKlang/ik_ISoundEngine.h index c1b3298..048f643 100644 --- a/includes/irrKlang/ik_ISoundEngine.h +++ b/includes/irrKlang/ik_ISoundEngine.h @@ -425,7 +425,7 @@ namespace irrklang void* pALSA_SND_PCM; //! AudioDeviceID handle, this is not null when using the ESOD_CORE_AUDIO audio driver - ik_u32 pCoreAudioDeciceID; + ik_u32 pCoreAudioDeviceID; }; From 761c495ffb9ec2f888e4d984a5090f0bc730de90 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:37 -0500 Subject: [PATCH 28/89] spelling: directory Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 27d4068..dbcf4c7 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Note that CodeBlocks or other IDEs may have issues running the programs due to p `export LOGL_ROOT_PATH=/home/user/tutorials/LearnOpenGL` -Running `ls $LOGL_ROOT_PATH` should list, among other things, this README file and the resources direcory. +Running `ls $LOGL_ROOT_PATH` should list, among other things, this README file and the resources directory. ## Mac OS X building Building on Mac OS X is fairly simple: From a71766b717a7158b3329d1d7cd9960b9a6bd69db Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:38 -0500 Subject: [PATCH 29/89] spelling: distortions Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISound.h | 2 +- includes/irrKlang/ik_ISoundEffectControl.h | 2 +- includes/irrKlang/ik_ISoundEngine.h | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/irrKlang/ik_ISound.h b/includes/irrKlang/ik_ISound.h index 3f267b9..2da8aad 100644 --- a/includes/irrKlang/ik_ISound.h +++ b/includes/irrKlang/ik_ISound.h @@ -166,7 +166,7 @@ namespace irrklang virtual ik_u32 getPlayLength() = 0; //! Returns the sound effect control interface for this sound. - /** Sound effects such as Chorus, Distorsions, Echo, Reverb and similar can + /** Sound effects such as Chorus, Distortions, Echo, Reverb and similar can be controlled using this. The interface pointer is only valid as long as the ISound pointer is valid. If the ISound pointer gets dropped (IVirtualRefCounted::drop()), the ISoundEffects may not be used any more. diff --git a/includes/irrKlang/ik_ISoundEffectControl.h b/includes/irrKlang/ik_ISoundEffectControl.h index ce5c0e2..a38b29e 100644 --- a/includes/irrKlang/ik_ISoundEffectControl.h +++ b/includes/irrKlang/ik_ISoundEffectControl.h @@ -12,7 +12,7 @@ namespace irrklang { //! Interface to control the active sound effects (echo, reverb,...) of an ISound object, a playing sound. - /** Sound effects such as chorus, distorsions, echo, reverb and similar can + /** Sound effects such as chorus, distortions, echo, reverb and similar can be controlled using this. An instance of this interface can be obtained via ISound::getSoundEffectControl(). The sound containing this interface has to be started via ISoundEngine::play2D() or ISoundEngine::play3D() with the flag enableSoundEffects=true, diff --git a/includes/irrKlang/ik_ISoundEngine.h b/includes/irrKlang/ik_ISoundEngine.h index 048f643..f6ccfd5 100644 --- a/includes/irrKlang/ik_ISoundEngine.h +++ b/includes/irrKlang/ik_ISoundEngine.h @@ -45,7 +45,7 @@ namespace irrklang \param streamMode Specifies if the file should be streamed or loaded completely into memory for playing. ESM_AUTO_DETECT sets this to autodetection. Note: if the sound has been loaded or played before into the engine, this parameter has no effect. - \param enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, + \param enableSoundEffects Makes it possible to use sound effects such as chorus, distortions, echo, reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). Only enable if necessary. \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or @@ -73,7 +73,7 @@ namespace irrklang Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound object anymore. See 'return' for details. \param track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details. - \param enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, + \param enableSoundEffects Makes it possible to use sound effects such as chorus, distortions, echo, reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). Only enable if necessary. \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or @@ -102,7 +102,7 @@ namespace irrklang \param streamMode Specifies if the file should be streamed or loaded completely into memory for playing. ESM_AUTO_DETECT sets this to autodetection. Note: if the sound has been loaded or played before into the engine, this parameter has no effect. - \param enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, + \param enableSoundEffects Makes it possible to use sound effects such as chorus, distortions, echo, reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). Only enable if necessary. \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or @@ -131,7 +131,7 @@ namespace irrklang Note: You need to call ISound::drop() when setting this parameter to true and you don't need the ISound object anymore. See 'return' for details. \param track Makes it possible to track the sound. Causes the method to return an ISound interface. See 'return' for details. - \param enableSoundEffects Makes it possible to use sound effects such as chorus, distorsions, echo, + \param enableSoundEffects Makes it possible to use sound effects such as chorus, distortions, echo, reverb and similar for this sound. Sound effects can then be controlled via ISound::getSoundEffectControl(). Only enable if necessary. \return Only returns a pointer to an ISound if the parameters 'track', 'startPaused' or From 2d62e3c0efe52e40b4ed8e0948ac0be139ad6a7d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:39 -0500 Subject: [PATCH 30/89] spelling: encrypted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/irrKlang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/irrKlang.h b/includes/irrKlang/irrKlang.h index de2832c..bb32ef0 100644 --- a/includes/irrKlang/irrKlang.h +++ b/includes/irrKlang/irrKlang.h @@ -532,7 +532,7 @@ * It is possible to let irrKlang use your own file access functions. * This is useful if you want to read sounds from other sources than * just files, for example from custom internet streams or - * an own encypted archive format. There is an example in the SDK in + * an own encrypted archive format. There is an example in the SDK in * examples/04.OverrideFileAccess which shows this as well.
* * The only thing to do for this is to implement your own irrklang::IFileFactory, From 2eb868c36c5169e37c8d762599bf19140f7295d2 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:39 -0500 Subject: [PATCH 31/89] spelling: epsilon Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/quaternion.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/quaternion.inl b/includes/assimp/quaternion.inl index db27c25..268f1bd 100644 --- a/includes/assimp/quaternion.inl +++ b/includes/assimp/quaternion.inl @@ -210,7 +210,7 @@ inline void aiQuaterniont::Interpolate( aiQuaterniont& pOut, const aiQuat // Calculate coefficients TReal sclp, sclq; - if( (static_cast(1.0) - cosom) > static_cast(0.0001)) // 0.0001 -> some epsillon + if( (static_cast(1.0) - cosom) > static_cast(0.0001)) // 0.0001 -> some epsilon { // Standard case (slerp) TReal omega, sinom; From 33a70d8aea3400fc777e11fbd0174a6aa6f02b86 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:38 -0500 Subject: [PATCH 32/89] spelling: excluding Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/Logger.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/assimp/Logger.hpp b/includes/assimp/Logger.hpp index 82e1cf0..b29cd60 100644 --- a/includes/assimp/Logger.hpp +++ b/includes/assimp/Logger.hpp @@ -174,7 +174,7 @@ protected: // ---------------------------------------------------------------------- /** @brief Called as a request to write a specific info message * @param message Info message. Never longer than - * MAX_LOG_MESSAGE_LENGTH characters (ecxluding the '0'). + * MAX_LOG_MESSAGE_LENGTH characters (excluding the '0'). * @note The message string is only valid until the scope of * the function is left. */ @@ -183,7 +183,7 @@ protected: // ---------------------------------------------------------------------- /** @brief Called as a request to write a specific warn message * @param message Warn message. Never longer than - * MAX_LOG_MESSAGE_LENGTH characters (exluding the '0'). + * MAX_LOG_MESSAGE_LENGTH characters (excluding the '0'). * @note The message string is only valid until the scope of * the function is left. */ @@ -192,7 +192,7 @@ protected: // ---------------------------------------------------------------------- /** @brief Called as a request to write a specific error message * @param message Error message. Never longer than - * MAX_LOG_MESSAGE_LENGTH characters (exluding the '0'). + * MAX_LOG_MESSAGE_LENGTH characters (excluding the '0'). * @note The message string is only valid until the scope of * the function is left. */ From 4a91feb5c039e442dcaeadcfbb0d8ef6c1ba5434 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:41 -0500 Subject: [PATCH 33/89] spelling: executables Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dbcf4c7..f4d4d66 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ First make sure you have CMake, Git, and GCC by typing as root (sudo) `apt-get i Using root (sudo) and type `apt-get install libsoil-dev libglm-dev libassimp-dev libglew-dev libglfw3-dev libxinerama-dev libxcursor-dev libxi-dev libfreetype-dev libgl1-mesa-dev xorg-dev` . Next, run CMake (preferably CMake-gui). The source directory is LearnOpenGL and specify the build directory as LearnOpenGL/build. Creating the build directory within LearnOpenGL is important for linking to the resource files (it also will be ignored by Git). Hit configure and specify your compiler files (Unix Makefiles are recommended), resolve any missing directories or libraries, and then hit generate. Navigate to the build directory (`cd LearnOpenGL/build`) and type `make` in the terminal. This should generate the executables in the respective chapter folders. -Note that CodeBlocks or other IDEs may have issues running the programs due to problems finding the shader and resource files, however it should still be able to generate the exectuables. To work around this problem it is possible to set an environment variable to tell the tutorials where the resource files can be found. The environment variable is named LOGL_ROOT_PATH and may be set to the path to the root of the LearnOpenGL directory tree. For example: +Note that CodeBlocks or other IDEs may have issues running the programs due to problems finding the shader and resource files, however it should still be able to generate the executables. To work around this problem it is possible to set an environment variable to tell the tutorials where the resource files can be found. The environment variable is named LOGL_ROOT_PATH and may be set to the path to the root of the LearnOpenGL directory tree. For example: `export LOGL_ROOT_PATH=/home/user/tutorials/LearnOpenGL` From 759d1b4243be828524a2032d84ae05be40581986 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:42 -0500 Subject: [PATCH 34/89] spelling: explicitly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_IRefCounted.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/irrKlang/ik_IRefCounted.h b/includes/irrKlang/ik_IRefCounted.h index f86e8b9..05058f9 100644 --- a/includes/irrKlang/ik_IRefCounted.h +++ b/includes/irrKlang/ik_IRefCounted.h @@ -19,7 +19,7 @@ namespace irrklang to call drop(). This will destroy the object, if grab() was not called in another part of you program, because this part still needs the object. Note, that you only don't need to call drop() for all objects you receive, it - will be explicitely noted in the documentation. + will be explicitly noted in the documentation. A simple example: @@ -66,7 +66,7 @@ namespace irrklang //! to call drop(). This will destroy the object, if grab() was not called //! in another part of you program, because this part still needs the object. //! Note, that you only don't need to call drop() for all objects you receive, it - //! will be explicitely noted in the documentation. + //! will be explicitly noted in the documentation. //! //! A simple example: //! @@ -84,7 +84,7 @@ namespace irrklang //! to call drop(). This will destroy the object, if grab() was not called //! in another part of you program, because this part still needs the object. //! Note, that you only don't need to call drop() for all objects you receive, it - //! will be explicitely noted in the documentation. + //! will be explicitly noted in the documentation. //! //! A simple example: //! From 26ef1c7d41b0a04ca22953c6970a3018a8775454 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:42 -0500 Subject: [PATCH 35/89] spelling: extended Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/associated_min_max.hpp | 2 +- includes/glm/gtx/extended_min_max.hpp | 42 +++++++++++------------ includes/glm/gtx/matrix_cross_product.hpp | 2 +- includes/glm/gtx/matrix_major_storage.hpp | 2 +- includes/glm/gtx/normal.hpp | 2 +- includes/glm/gtx/orthonormalize.hpp | 2 +- includes/glm/gtx/quaternion.hpp | 4 +-- includes/glm/gtx/std_based_type.hpp | 2 +- 8 files changed, 29 insertions(+), 29 deletions(-) diff --git a/includes/glm/gtx/associated_min_max.hpp b/includes/glm/gtx/associated_min_max.hpp index 1042c13..8b27454 100644 --- a/includes/glm/gtx/associated_min_max.hpp +++ b/includes/glm/gtx/associated_min_max.hpp @@ -2,7 +2,7 @@ /// @file glm/gtx/associated_min_max.hpp /// /// @see core (dependence) -/// @see gtx_extented_min_max (dependence) +/// @see gtx_extended_min_max (dependence) /// /// @defgroup gtx_associated_min_max GLM_GTX_associated_min_max /// @ingroup gtx diff --git a/includes/glm/gtx/extended_min_max.hpp b/includes/glm/gtx/extended_min_max.hpp index 26802c3..5d2d90c 100644 --- a/includes/glm/gtx/extended_min_max.hpp +++ b/includes/glm/gtx/extended_min_max.hpp @@ -3,10 +3,10 @@ /// /// @see core (dependence) /// -/// @defgroup gtx_extended_min_max GLM_GTX_extented_min_max +/// @defgroup gtx_extended_min_max GLM_GTX_extended_min_max /// @ingroup gtx /// -/// Include to use the features of this extension. +/// Include to use the features of this extension. /// /// Min and max functions for 3 to 4 parameters. @@ -16,11 +16,11 @@ #include "../glm.hpp" #ifndef GLM_ENABLE_EXPERIMENTAL -# error "GLM: GLM_GTX_extented_min_max is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." +# error "GLM: GLM_GTX_extended_min_max is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it." #endif #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) -# pragma message("GLM: GLM_GTX_extented_min_max extension included") +# pragma message("GLM: GLM_GTX_extended_min_max extension included") #endif namespace glm @@ -29,7 +29,7 @@ namespace glm /// @{ /// Return the minimum component-wise values of 3 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template GLM_FUNC_DECL T min( T const& x, @@ -37,7 +37,7 @@ namespace glm T const& z); /// Return the minimum component-wise values of 3 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template class C> GLM_FUNC_DECL C min( C const& x, @@ -45,7 +45,7 @@ namespace glm typename C::T const& z); /// Return the minimum component-wise values of 3 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template class C> GLM_FUNC_DECL C min( C const& x, @@ -53,7 +53,7 @@ namespace glm C const& z); /// Return the minimum component-wise values of 4 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template GLM_FUNC_DECL T min( T const& x, @@ -62,7 +62,7 @@ namespace glm T const& w); /// Return the minimum component-wise values of 4 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template class C> GLM_FUNC_DECL C min( C const& x, @@ -71,7 +71,7 @@ namespace glm typename C::T const& w); /// Return the minimum component-wise values of 4 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template class C> GLM_FUNC_DECL C min( C const& x, @@ -80,7 +80,7 @@ namespace glm C const& w); /// Return the maximum component-wise values of 3 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template GLM_FUNC_DECL T max( T const& x, @@ -88,7 +88,7 @@ namespace glm T const& z); /// Return the maximum component-wise values of 3 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template class C> GLM_FUNC_DECL C max( C const& x, @@ -96,7 +96,7 @@ namespace glm typename C::T const& z); /// Return the maximum component-wise values of 3 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template class C> GLM_FUNC_DECL C max( C const& x, @@ -104,7 +104,7 @@ namespace glm C const& z); /// Return the maximum component-wise values of 4 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template GLM_FUNC_DECL T max( T const& x, @@ -113,7 +113,7 @@ namespace glm T const& w); /// Return the maximum component-wise values of 4 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template class C> GLM_FUNC_DECL C max( C const& x, @@ -122,7 +122,7 @@ namespace glm typename C::T const& w); /// Return the maximum component-wise values of 4 inputs - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template class C> GLM_FUNC_DECL C max( C const& x, @@ -134,7 +134,7 @@ namespace glm /// /// @tparam genType Floating-point or integer; scalar or vector types. /// - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template GLM_FUNC_DECL genType fmin(genType x, genType y); @@ -142,7 +142,7 @@ namespace glm /// /// @tparam genType Floating-point; scalar or vector types. /// - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max /// @see std::fmax documentation template GLM_FUNC_DECL genType fmax(genType x, genType y); @@ -151,7 +151,7 @@ namespace glm /// /// @tparam genType Floating-point scalar or vector types. /// - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template GLM_FUNC_DECL genType fclamp(genType x, genType minVal, genType maxVal); @@ -161,7 +161,7 @@ namespace glm /// @tparam T Floating-point scalar types /// @tparam Q Value from qualifier enum /// - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template GLM_FUNC_DECL vec fclamp(vec const& x, T minVal, T maxVal); @@ -171,7 +171,7 @@ namespace glm /// @tparam T Floating-point scalar types /// @tparam Q Value from qualifier enum /// - /// @see gtx_extented_min_max + /// @see gtx_extended_min_max template GLM_FUNC_DECL vec fclamp(vec const& x, vec const& minVal, vec const& maxVal); diff --git a/includes/glm/gtx/matrix_cross_product.hpp b/includes/glm/gtx/matrix_cross_product.hpp index 6feb4f1..aa82dfd 100644 --- a/includes/glm/gtx/matrix_cross_product.hpp +++ b/includes/glm/gtx/matrix_cross_product.hpp @@ -2,7 +2,7 @@ /// @file glm/gtx/matrix_cross_product.hpp /// /// @see core (dependence) -/// @see gtx_extented_min_max (dependence) +/// @see gtx_extended_min_max (dependence) /// /// @defgroup gtx_matrix_cross_product GLM_GTX_matrix_cross_product /// @ingroup gtx diff --git a/includes/glm/gtx/matrix_major_storage.hpp b/includes/glm/gtx/matrix_major_storage.hpp index d3020f7..440ead9 100644 --- a/includes/glm/gtx/matrix_major_storage.hpp +++ b/includes/glm/gtx/matrix_major_storage.hpp @@ -2,7 +2,7 @@ /// @file glm/gtx/matrix_major_storage.hpp /// /// @see core (dependence) -/// @see gtx_extented_min_max (dependence) +/// @see gtx_extended_min_max (dependence) /// /// @defgroup gtx_matrix_major_storage GLM_GTX_matrix_major_storage /// @ingroup gtx diff --git a/includes/glm/gtx/normal.hpp b/includes/glm/gtx/normal.hpp index 1089d87..72f3a21 100644 --- a/includes/glm/gtx/normal.hpp +++ b/includes/glm/gtx/normal.hpp @@ -2,7 +2,7 @@ /// @file glm/gtx/normal.hpp /// /// @see core (dependence) -/// @see gtx_extented_min_max (dependence) +/// @see gtx_extended_min_max (dependence) /// /// @defgroup gtx_normal GLM_GTX_normal /// @ingroup gtx diff --git a/includes/glm/gtx/orthonormalize.hpp b/includes/glm/gtx/orthonormalize.hpp index 47b10c6..47c4d9c 100644 --- a/includes/glm/gtx/orthonormalize.hpp +++ b/includes/glm/gtx/orthonormalize.hpp @@ -2,7 +2,7 @@ /// @file glm/gtx/orthonormalize.hpp /// /// @see core (dependence) -/// @see gtx_extented_min_max (dependence) +/// @see gtx_extended_min_max (dependence) /// /// @defgroup gtx_orthonormalize GLM_GTX_orthonormalize /// @ingroup gtx diff --git a/includes/glm/gtx/quaternion.hpp b/includes/glm/gtx/quaternion.hpp index e3c03de..91f5f3f 100644 --- a/includes/glm/gtx/quaternion.hpp +++ b/includes/glm/gtx/quaternion.hpp @@ -2,14 +2,14 @@ /// @file glm/gtx/quaternion.hpp /// /// @see core (dependence) -/// @see gtx_extented_min_max (dependence) +/// @see gtx_extended_min_max (dependence) /// /// @defgroup gtx_quaternion GLM_GTX_quaternion /// @ingroup gtx /// /// Include to use the features of this extension. /// -/// Extented quaternion types and functions +/// Extended quaternion types and functions #pragma once diff --git a/includes/glm/gtx/std_based_type.hpp b/includes/glm/gtx/std_based_type.hpp index 6183a62..7a7669f 100644 --- a/includes/glm/gtx/std_based_type.hpp +++ b/includes/glm/gtx/std_based_type.hpp @@ -2,7 +2,7 @@ /// @file glm/gtx/std_based_type.hpp /// /// @see core (dependence) -/// @see gtx_extented_min_max (dependence) +/// @see gtx_extended_min_max (dependence) /// /// @defgroup gtx_std_based_type GLM_GTX_std_based_type /// @ingroup gtx From 63c6b2aab34ba10ef642ff0ffadc5b1e7c823cc4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:43 -0500 Subject: [PATCH 36/89] spelling: failure Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/learnopengl/entity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/learnopengl/entity.h b/includes/learnopengl/entity.h index aee9a80..6ec706f 100644 --- a/includes/learnopengl/entity.h +++ b/includes/learnopengl/entity.h @@ -197,7 +197,7 @@ struct Sphere : public BoundingVolume //Max scale is assuming for the diameter. So, we need the half to apply it to our radius Sphere globalSphere(globalCenter, radius * (maxScale * 0.5f)); - //Check Firstly the result that have the most chance to faillure to avoid to call all functions. + //Check Firstly the result that have the most chance to failure to avoid to call all functions. return (globalSphere.isOnOrForwardPlane(camFrustum.leftFace) && globalSphere.isOnOrForwardPlane(camFrustum.rightFace) && globalSphere.isOnOrForwardPlane(camFrustum.farFace) && From 41932a486f22a9831f272b405d77ed428e7e0a9c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:42:20 -0500 Subject: [PATCH 37/89] spelling: false Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISoundEngine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/irrKlang/ik_ISoundEngine.h b/includes/irrKlang/ik_ISoundEngine.h index f6ccfd5..c6c54d5 100644 --- a/includes/irrKlang/ik_ISoundEngine.h +++ b/includes/irrKlang/ik_ISoundEngine.h @@ -390,7 +390,7 @@ namespace irrklang if the parameter ESEO_LOAD_PLUGINS is set (which it is by default), but using this method, it is possible to load plugins from a custom path in addition. \param path Path to the plugin directory, like "C:\games\somegamegame\irrklangplugins". - \return returns true if sucessful or fals if not, for example because the path could + \return returns true if sucessful or false if not, for example because the path could not be found. */ virtual bool loadPlugins(const ik_c8* path) = 0; @@ -402,7 +402,7 @@ namespace irrklang //! Sets the OutputMixedDataReceiver, so you can receive the pure mixed output audio data while it is being played. /** This can be used to store the sound output as .wav file or for creating a Oscillograph or similar. This works only with software based audio drivers, that is ESOD_WIN_MM, ESOD_ALSA, and ESOD_CORE_AUDIO. - Returns true if sucessful and fals if the current audio driver doesn't support this feature. Set this to null + Returns true if sucessful and false if the current audio driver doesn't support this feature. Set this to null again once you don't need it anymore. */ virtual bool setMixedDataOutputReceiver(ISoundMixedOutputReceiver* receiver) = 0; }; From d64248ed48f476a14865bb0d2d59bd55a4c42500 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:27:04 -0500 Subject: [PATCH 38/89] spelling: for Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/freetype/internal/ftobjs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/freetype/internal/ftobjs.h b/includes/freetype/internal/ftobjs.h index 140eebc..268cf32 100644 --- a/includes/freetype/internal/ftobjs.h +++ b/includes/freetype/internal/ftobjs.h @@ -873,7 +873,7 @@ FT_BEGIN_HEADER * The LCD filter weights for ClearType-style subpixel rendering. * * lcd_filter_func :: - * The LCD filtering callback function for for ClearType-style subpixel + * The LCD filtering callback function for ClearType-style subpixel * rendering. * * lcd_geometry :: From 152c276d4c90e08515dade7424b8f51d90ea349d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:44 -0500 Subject: [PATCH 39/89] spelling: hierarchy Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/learnopengl/animation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/learnopengl/animation.h b/includes/learnopengl/animation.h index bf7b64c..2668450 100644 --- a/includes/learnopengl/animation.h +++ b/includes/learnopengl/animation.h @@ -32,7 +32,7 @@ public: m_TicksPerSecond = animation->mTicksPerSecond; aiMatrix4x4 globalTransformation = scene->mRootNode->mTransformation; globalTransformation = globalTransformation.Inverse(); - ReadHeirarchyData(m_RootNode, scene->mRootNode); + ReadHierarchyData(m_RootNode, scene->mRootNode); ReadMissingBones(animation, *model); } @@ -87,7 +87,7 @@ private: m_BoneInfoMap = boneInfoMap; } - void ReadHeirarchyData(AssimpNodeData& dest, const aiNode* src) + void ReadHierarchyData(AssimpNodeData& dest, const aiNode* src) { assert(src); @@ -98,7 +98,7 @@ private: for (int i = 0; i < src->mNumChildren; i++) { AssimpNodeData newData; - ReadHeirarchyData(newData, src->mChildren[i]); + ReadHierarchyData(newData, src->mChildren[i]); dest.children.push_back(newData); } } From 88892a5392516d66b320b1e58d990bb29c624e2f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:42:52 -0500 Subject: [PATCH 40/89] spelling: imports Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/Importer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/Importer.hpp b/includes/assimp/Importer.hpp index 94a5923..2357a72 100644 --- a/includes/assimp/Importer.hpp +++ b/includes/assimp/Importer.hpp @@ -557,7 +557,7 @@ public: inline void GetExtensionList(std::string& szOut) const; // ------------------------------------------------------------------- - /** Get the number of importrs currently registered with Assimp. */ + /** Get the number of imports currently registered with Assimp. */ size_t GetImporterCount() const; // ------------------------------------------------------------------- From ce3a4e89d4fae6ad82e610a53ceaacfa59a785d9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:46 -0500 Subject: [PATCH 41/89] spelling: inaccurate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtc/matrix_inverse.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/glm/gtc/matrix_inverse.hpp b/includes/glm/gtc/matrix_inverse.hpp index a1900ad..9fc0225 100644 --- a/includes/glm/gtc/matrix_inverse.hpp +++ b/includes/glm/gtc/matrix_inverse.hpp @@ -31,7 +31,7 @@ namespace glm /// Fast matrix inverse for affine matrix. /// /// @param m Input matrix to invert. - /// @tparam genType Squared floating-point matrix: half, float or double. Inverse of matrix based of half-qualifier floating point value is highly innacurate. + /// @tparam genType Squared floating-point matrix: half, float or double. Inverse of matrix based of half-qualifier floating point value is highly inaccurate. /// @see gtc_matrix_inverse template GLM_FUNC_DECL genType affineInverse(genType const& m); @@ -39,7 +39,7 @@ namespace glm /// Compute the inverse transpose of a matrix. /// /// @param m Input matrix to invert transpose. - /// @tparam genType Squared floating-point matrix: half, float or double. Inverse of matrix based of half-qualifier floating point value is highly innacurate. + /// @tparam genType Squared floating-point matrix: half, float or double. Inverse of matrix based of half-qualifier floating point value is highly inaccurate. /// @see gtc_matrix_inverse template GLM_FUNC_DECL genType inverseTranspose(genType const& m); From 7a659e73d2408f4929029dab5cb343e439492594 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:45 -0500 Subject: [PATCH 42/89] spelling: infinitesimal Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/image_DXT.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/image_DXT.c b/includes/image_DXT.c index 3d7ca7b..37e0403 100644 --- a/includes/image_DXT.c +++ b/includes/image_DXT.c @@ -15,7 +15,7 @@ /* set this =1 if you want to use the covariance matrix method... which is better than my method of using standard deviations - overall, except on the infintesimal chance that the power + overall, except on the infinitesimal chance that the power method fails for finding the largest eigenvector */ #define USE_COV_MAT 1 From 589527a2361afd6bd8f52bc1a4f65d446c2b9712 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:46 -0500 Subject: [PATCH 43/89] spelling: information Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/learnopengl/entity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/learnopengl/entity.h b/includes/learnopengl/entity.h index 6ec706f..679a8ee 100644 --- a/includes/learnopengl/entity.h +++ b/includes/learnopengl/entity.h @@ -14,7 +14,7 @@ protected: glm::vec3 m_eulerRot = { 0.0f, 0.0f, 0.0f }; //In degrees glm::vec3 m_scale = { 1.0f, 1.0f, 1.0f }; - //Global space informaiton concatenate in matrix + //Global space information concatenate in matrix glm::mat4 m_modelMatrix = glm::mat4(1.0f); //Dirty flag From 1acd9c17bbc361b49b90efa30502174c9c977c72 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:27:51 -0500 Subject: [PATCH 44/89] spelling: into Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/stb_image.h | 2 +- .../2021/3.tessellation/terrain_cpu_src/8.3.cpuheight.fs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/stb_image.h b/includes/stb_image.h index e98fadc..bf44a3a 100644 --- a/includes/stb_image.h +++ b/includes/stb_image.h @@ -67,7 +67,7 @@ See final bullet items below for more info on SIMD. - Added STBI_MALLOC, STBI_REALLOC, and STBI_FREE macros for replacing the memory allocator. Unlike other STBI libraries, these macros don't -support a context parameter, so if you need to pass a context in to +support a context parameter, so if you need to pass a context into the allocator, you'll have to store it in a global or a thread-local variable. diff --git a/src/8.guest/2021/3.tessellation/terrain_cpu_src/8.3.cpuheight.fs b/src/8.guest/2021/3.tessellation/terrain_cpu_src/8.3.cpuheight.fs index b25e251..fcb3460 100644 --- a/src/8.guest/2021/3.tessellation/terrain_cpu_src/8.3.cpuheight.fs +++ b/src/8.guest/2021/3.tessellation/terrain_cpu_src/8.3.cpuheight.fs @@ -6,6 +6,6 @@ in float Height; void main() { - float h = (Height + 16)/32.0f; // shift and scale the height in to a grayscale value + float h = (Height + 16)/32.0f; // shift and scale the height into a grayscale value FragColor = vec4(h, h, h, 1.0); } \ No newline at end of file From a3bd3a00c6fec3f9eed9a6320a3f0fcfd1aede75 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:48 -0500 Subject: [PATCH 45/89] spelling: length Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_IAudioRecorder.h | 2 +- includes/irrKlang/ik_ISoundSource.h | 8 ++++---- includes/irrKlang/ik_SAudioStreamFormat.h | 4 ++-- includes/irrKlang/ik_vec3d.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/irrKlang/ik_IAudioRecorder.h b/includes/irrKlang/ik_IAudioRecorder.h index 49b4085..b40e1a7 100644 --- a/includes/irrKlang/ik_IAudioRecorder.h +++ b/includes/irrKlang/ik_IAudioRecorder.h @@ -77,7 +77,7 @@ namespace irrklang //! Returns a pointer to the recorded audio data. /** This method will only succeed if audio recording is currently stopped and something was recorded previously using startRecordingBufferedAudio(). - The lenght of the buffer can be retrieved using + The length of the buffer can be retrieved using getAudioFormat().getSampleDataSize(). Note that the pointer is only valid as long as not clearRecordedAudioDataBuffer() is called or another sample is recorded.*/ diff --git a/includes/irrKlang/ik_ISoundSource.h b/includes/irrKlang/ik_ISoundSource.h index 087d295..789f3e4 100644 --- a/includes/irrKlang/ik_ISoundSource.h +++ b/includes/irrKlang/ik_ISoundSource.h @@ -15,7 +15,7 @@ namespace irrklang { //! A sound source describes an input file (.ogg, .mp3, .wav or similar) and its default settings. - /** It provides some informations about the sound source like the play lenght and + /** It provides some informations about the sound source like the play length and can have default settings for volume, distances for 3d etc. There is some example code on how to use Sound sources at @ref soundSources.*/ class ISoundSource : public IVirtualRefCounted @@ -38,9 +38,9 @@ namespace irrklang //! Returns the play length of the sound in milliseconds. /** Returns -1 if not known for this sound for example because its decoder - does not support lenght reporting or it is a file stream of unknown size. + does not support length reporting or it is a file stream of unknown size. Note: If the sound never has been played before, the sound engine will have to open - the file and try to get the play lenght from there, so this call could take a bit depending + the file and try to get the play length from there, so this call could take a bit depending on the type of file. */ virtual ik_u32 getPlayLength() = 0; @@ -48,7 +48,7 @@ namespace irrklang /** \return Returns the structure filled with 0 or negative values if not known for this sound for example because because the file could not be opened or similar. Note: If the sound never has been played before, the sound engine will have to open - the file and try to get the play lenght from there, so this call could take a bit depending + the file and try to get the play length from there, so this call could take a bit depending on the type of file. */ virtual SAudioStreamFormat getAudioFormat() = 0; diff --git a/includes/irrKlang/ik_SAudioStreamFormat.h b/includes/irrKlang/ik_SAudioStreamFormat.h index cc6d343..e719964 100644 --- a/includes/irrKlang/ik_SAudioStreamFormat.h +++ b/includes/irrKlang/ik_SAudioStreamFormat.h @@ -29,7 +29,7 @@ namespace irrklang ik_s32 ChannelCount; //! amount of frames in the sample data or stream. - /** If the stream has an unknown lenght, this is -1 */ + /** If the stream has an unknown length, this is -1 */ ik_s32 FrameCount; //! samples per second @@ -51,7 +51,7 @@ namespace irrklang } //! returns the size of the sample data in bytes - /* Returns an invalid negative value when the stream has an unknown lenght */ + /* Returns an invalid negative value when the stream has an unknown length */ inline ik_s32 getSampleDataSize() const { return getFrameSize() * FrameCount; diff --git a/includes/irrKlang/ik_vec3d.h b/includes/irrKlang/ik_vec3d.h index 55e62c2..6749eb2 100644 --- a/includes/irrKlang/ik_vec3d.h +++ b/includes/irrKlang/ik_vec3d.h @@ -128,7 +128,7 @@ namespace irrklang return *this; } - //! Sets the lenght of the vector to a new value + //! Sets the length of the vector to a new value void setLength(T newlength) { normalize(); From 64f87c4ff557aca2ea3150dff5aaf6dfb8c0cb54 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:32:00 -0500 Subject: [PATCH 46/89] spelling: mac os x Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/irrKlang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/irrKlang.h b/includes/irrKlang/irrKlang.h index bb32ef0..d4f4634 100644 --- a/includes/irrKlang/irrKlang.h +++ b/includes/irrKlang/irrKlang.h @@ -118,7 +118,7 @@ *
    *
  • ALSA
  • *
- *
  • MacOSX (x86 and PPC)
  • + *
  • Mac OS X (x86 and PPC)
  • *
      *
    • CoreAudio
    • *
    From abae3e4165733d45e66999dffad1c131b2edaf67 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:48 -0500 Subject: [PATCH 47/89] spelling: maximal Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISoundSource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/ik_ISoundSource.h b/includes/irrKlang/ik_ISoundSource.h index 789f3e4..6ee8384 100644 --- a/includes/irrKlang/ik_ISoundSource.h +++ b/includes/irrKlang/ik_ISoundSource.h @@ -111,7 +111,7 @@ namespace irrklang the default max distance of the sound engine to take effect. */ virtual void setDefaultMaxDistance(ik_f32 maxDistance) = 0; - //! returns the default maxmial distance for 3D sounds played from this source. + //! returns the default maximal distance for 3D sounds played from this source. /** This value influences how loud a sound is heard based on its distance. Changing this value is usually not necessary. Use setDefaultMinDistance() instead. Don't change this value if you don't know what you are doing: This value causes the sound From 1abb2274fcae6448ee2da37bf8dac54fc4d06295 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:49 -0500 Subject: [PATCH 48/89] spelling: maximum Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../compute_shader_hello_world.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/8.guest/2022/5.computeshader_helloworld/compute_shader_hello_world.cpp b/src/8.guest/2022/5.computeshader_helloworld/compute_shader_hello_world.cpp index 1f62eb2..81cf81a 100644 --- a/src/8.guest/2022/5.computeshader_helloworld/compute_shader_hello_world.cpp +++ b/src/8.guest/2022/5.computeshader_helloworld/compute_shader_hello_world.cpp @@ -73,13 +73,13 @@ int main(int argc, char* argv[]) glGetIntegerv(GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS, &max_compute_work_group_invocations); std::cout << "OpenGL Limitations: " << std::endl; - std::cout << "maxmimum number of work groups in X dimension " << max_compute_work_group_count[0] << std::endl; - std::cout << "maxmimum number of work groups in Y dimension " << max_compute_work_group_count[1] << std::endl; - std::cout << "maxmimum number of work groups in Z dimension " << max_compute_work_group_count[2] << std::endl; + std::cout << "maximum number of work groups in X dimension " << max_compute_work_group_count[0] << std::endl; + std::cout << "maximum number of work groups in Y dimension " << max_compute_work_group_count[1] << std::endl; + std::cout << "maximum number of work groups in Z dimension " << max_compute_work_group_count[2] << std::endl; - std::cout << "maxmimum size of a work group in X dimension " << max_compute_work_group_size[0] << std::endl; - std::cout << "maxmimum size of a work group in Y dimension " << max_compute_work_group_size[1] << std::endl; - std::cout << "maxmimum size of a work group in Z dimension " << max_compute_work_group_size[2] << std::endl; + std::cout << "maximum size of a work group in X dimension " << max_compute_work_group_size[0] << std::endl; + std::cout << "maximum size of a work group in Y dimension " << max_compute_work_group_size[1] << std::endl; + std::cout << "maximum size of a work group in Z dimension " << max_compute_work_group_size[2] << std::endl; std::cout << "Number of invocations in a single local work group that may be dispatched to a compute shader " << max_compute_work_group_invocations << std::endl; From 1477f783d068d62678d19ba13565437e4b1a2a56 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:49 -0500 Subject: [PATCH 49/89] spelling: mesh's Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/mesh.h b/includes/assimp/mesh.h index b5eeb34..9d521d7 100644 --- a/includes/assimp/mesh.h +++ b/includes/assimp/mesh.h @@ -604,7 +604,7 @@ struct aiMesh /** NOT CURRENTLY IN USE. Attachment meshes for this mesh, for vertex-based animation. * Attachment meshes carry replacement data for some of the - * mesh'es vertex components (usually positions, normals). */ + * mesh's vertex components (usually positions, normals). */ C_STRUCT aiAnimMesh** mAnimMeshes; From 94d39b392f075e3e6f754a5bc683035e2164ced3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:40 -0500 Subject: [PATCH 50/89] spelling: message Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/Logger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/Logger.hpp b/includes/assimp/Logger.hpp index b29cd60..53458a8 100644 --- a/includes/assimp/Logger.hpp +++ b/includes/assimp/Logger.hpp @@ -187,7 +187,7 @@ protected: * @note The message string is only valid until the scope of * the function is left. */ - virtual void OnWarn(const char* essage) = 0; + virtual void OnWarn(const char* message) = 0; // ---------------------------------------------------------------------- /** @brief Called as a request to write a specific error message From 939ff11fe4dc6751bc5f764a07b286a6f849baed Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:50 -0500 Subject: [PATCH 51/89] spelling: modifiable Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/cexport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/cexport.h b/includes/assimp/cexport.h index 71cb1f8..1c688d8 100644 --- a/includes/assimp/cexport.h +++ b/includes/assimp/cexport.h @@ -107,7 +107,7 @@ ASSIMP_API void aiReleaseExportFormatDescription( const C_STRUCT aiExportFormatD * export them again. Since the scene returned by the various importer functions * is const, a modifiable copy is needed. * @param pIn Valid scene to be copied - * @param pOut Receives a modifyable copy of the scene. Use aiFreeScene() to + * @param pOut Receives a modifiable copy of the scene. Use aiFreeScene() to * delete it again. */ ASSIMP_API void aiCopyScene(const C_STRUCT aiScene* pIn, From 9891f6608e7dc15d1e90a5b506ebf24fdddf6e14 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:50 -0500 Subject: [PATCH 52/89] spelling: necessary Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/learnopengl/shader.h | 2 +- includes/learnopengl/shader_c.h | 2 +- includes/learnopengl/shader_m.h | 2 +- includes/learnopengl/shader_t.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/learnopengl/shader.h b/includes/learnopengl/shader.h index 1ac9dbe..1104233 100644 --- a/includes/learnopengl/shader.h +++ b/includes/learnopengl/shader.h @@ -89,7 +89,7 @@ public: glAttachShader(ID, geometry); glLinkProgram(ID); checkCompileErrors(ID, "PROGRAM"); - // delete the shaders as they're linked into our program now and no longer necessery + // delete the shaders as they're linked into our program now and no longer necessary glDeleteShader(vertex); glDeleteShader(fragment); if(geometryPath != nullptr) diff --git a/includes/learnopengl/shader_c.h b/includes/learnopengl/shader_c.h index 5415548..d44581d 100644 --- a/includes/learnopengl/shader_c.h +++ b/includes/learnopengl/shader_c.h @@ -53,7 +53,7 @@ public: glAttachShader(ID, compute); glLinkProgram(ID); checkCompileErrors(ID, "PROGRAM"); - // delete the shaders as they're linked into our program now and no longer necessery + // delete the shaders as they're linked into our program now and no longer necessary glDeleteShader(compute); } // activate the shader diff --git a/includes/learnopengl/shader_m.h b/includes/learnopengl/shader_m.h index b554064..d5e90f0 100644 --- a/includes/learnopengl/shader_m.h +++ b/includes/learnopengl/shader_m.h @@ -65,7 +65,7 @@ public: glAttachShader(ID, fragment); glLinkProgram(ID); checkCompileErrors(ID, "PROGRAM"); - // delete the shaders as they're linked into our program now and no longer necessery + // delete the shaders as they're linked into our program now and no longer necessary glDeleteShader(vertex); glDeleteShader(fragment); diff --git a/includes/learnopengl/shader_t.h b/includes/learnopengl/shader_t.h index 6afa586..77468e6 100644 --- a/includes/learnopengl/shader_t.h +++ b/includes/learnopengl/shader_t.h @@ -133,7 +133,7 @@ public: glAttachShader(ID, tessEval); glLinkProgram(ID); checkCompileErrors(ID, "PROGRAM"); - // delete the shaders as they're linked into our program now and no longer necessery + // delete the shaders as they're linked into our program now and no longer necessary glDeleteShader(vertex); glDeleteShader(fragment); if(geometryPath != nullptr) From 24d4b887f26fb9f0f8bfc919d9a25c6b5a2fec99 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:21:48 -0500 Subject: [PATCH 53/89] spelling: normalize Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/{float_notmalize.inl => float_normalize.inl} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename includes/glm/gtx/{float_notmalize.inl => float_normalize.inl} (100%) diff --git a/includes/glm/gtx/float_notmalize.inl b/includes/glm/gtx/float_normalize.inl similarity index 100% rename from includes/glm/gtx/float_notmalize.inl rename to includes/glm/gtx/float_normalize.inl From 800ced99bf2c1d27d6255266b19d2116b0583e74 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:51 -0500 Subject: [PATCH 54/89] spelling: obtain Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/irrKlang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/irrKlang.h b/includes/irrKlang/irrKlang.h index d4f4634..544a7b9 100644 --- a/includes/irrKlang/irrKlang.h +++ b/includes/irrKlang/irrKlang.h @@ -497,7 +497,7 @@ * Gargle, 3DL2Reverb, ParamEq and WavesReverb, when using the sound driver * irrklang::ESOD_DIRECT_SOUND_8, which selected by default when using Windows.
    * - * Using the irrklang::ISound interface, you can optain the irrklang::ISoundEffectControl + * Using the irrklang::ISound interface, you can obtain the irrklang::ISoundEffectControl * interface if the sound device supports sound effects and the last parameter ('enableSoundEffects') * was set to true when calling play2D(): * From 6f5fd331d8f2fde812be16790e1aa6af782121e7 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:52 -0500 Subject: [PATCH 55/89] spelling: particular Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/7.in_practice/3.2d_game/0.full_source/texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/7.in_practice/3.2d_game/0.full_source/texture.h b/src/7.in_practice/3.2d_game/0.full_source/texture.h index 432b93f..27159cd 100644 --- a/src/7.in_practice/3.2d_game/0.full_source/texture.h +++ b/src/7.in_practice/3.2d_game/0.full_source/texture.h @@ -16,7 +16,7 @@ class Texture2D { public: - // holds the ID of the texture object, used for all texture operations to reference to this particlar texture + // holds the ID of the texture object, used for all texture operations to reference to this particular texture unsigned int ID; // texture image dimensions unsigned int Width, Height; // width and height of loaded image in pixels From 569dd6a5074564a1d161a56510fbb91c277b86de Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:52 -0500 Subject: [PATCH 56/89] spelling: pointer Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/ik_ISound.h b/includes/irrKlang/ik_ISound.h index 2da8aad..a51ba86 100644 --- a/includes/irrKlang/ik_ISound.h +++ b/includes/irrKlang/ik_ISound.h @@ -26,7 +26,7 @@ namespace irrklang public: //! returns source of the sound which stores the filename and other informations about that sound - /** \return Returns the sound source poitner of this sound. May return 0 if the sound source + /** \return Returns the sound source pointer of this sound. May return 0 if the sound source has been removed.*/ virtual ISoundSource* getSoundSource() = 0; From ac91c5208603325b133d4d9ada37f38a0f000241 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:53 -0500 Subject: [PATCH 57/89] spelling: possibility Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/image_DXT.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/image_DXT.c b/includes/image_DXT.c index 37e0403..2dd6878 100644 --- a/includes/image_DXT.c +++ b/includes/image_DXT.c @@ -351,7 +351,7 @@ void compute_color_line_STDEV( For a given starting vector, the power method can generate all zeros! So no starting with {1,1,1} as I was doing! This kind of error is still a - slight posibillity, but will be very rare. + slight possibility, but will be very rare. */ /* use the covariance matrix directly (1st iteration, don't use all 1.0 values!) */ From c547f10ddb4f9a04a1e82abd3dd4940130095166 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:53 -0500 Subject: [PATCH 58/89] spelling: potentially Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/Exporter.hpp | 2 +- includes/assimp/cexport.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/assimp/Exporter.hpp b/includes/assimp/Exporter.hpp index 079060f..2c169c7 100644 --- a/includes/assimp/Exporter.hpp +++ b/includes/assimp/Exporter.hpp @@ -212,7 +212,7 @@ public: * triangulate data so they would run the step even if it wasn't requested. * * If assimp detects that the input scene was directly taken from the importer side of - * the library (i.e. not copied using aiCopyScene and potetially modified afterwards), + * the library (i.e. not copied using aiCopyScene and potentially modified afterwards), * any postprocessing steps already applied to the scene will not be applied again, unless * they show non-idempotent behaviour (#aiProcess_MakeLeftHanded, #aiProcess_FlipUVs and * #aiProcess_FlipWindingOrder). diff --git a/includes/assimp/cexport.h b/includes/assimp/cexport.h index 1c688d8..6c43f81 100644 --- a/includes/assimp/cexport.h +++ b/includes/assimp/cexport.h @@ -149,7 +149,7 @@ ASSIMP_API void aiFreeScene(const C_STRUCT aiScene* pIn); * triangulate data so they would run the step anyway. * * If assimp detects that the input scene was directly taken from the importer side of -* the library (i.e. not copied using aiCopyScene and potetially modified afterwards), +* the library (i.e. not copied using aiCopyScene and potentially modified afterwards), * any postprocessing steps already applied to the scene will not be applied again, unless * they show non-idempotent behaviour (#aiProcess_MakeLeftHanded, #aiProcess_FlipUVs and * #aiProcess_FlipWindingOrder). From 4dcf1ed11955ad5bb911695211997ae5891a4179 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:26:56 -0500 Subject: [PATCH 59/89] spelling: preexisting Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/freetype/ftimage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/freetype/ftimage.h b/includes/freetype/ftimage.h index 185967c..62e774e 100644 --- a/includes/freetype/ftimage.h +++ b/includes/freetype/ftimage.h @@ -1015,7 +1015,7 @@ FT_BEGIN_HEADER * * If the @FT_RASTER_FLAG_DIRECT bit flag is set in `flags`, the raster * will call the `gray_spans` callback to draw gray pixel spans. This - * allows direct composition over a pre-existing bitmap through + * allows direct composition over a preexisting bitmap through * user-provided callbacks to perform the span drawing and composition. * Not supported by the monochrome rasterizer. */ From 46002b4d4644ed95005da6bae0c512dbf2311b85 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:54 -0500 Subject: [PATCH 60/89] spelling: prettiness Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/image_DXT.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/image_DXT.c b/includes/image_DXT.c index 2dd6878..485e6e6 100644 --- a/includes/image_DXT.c +++ b/includes/image_DXT.c @@ -23,7 +23,7 @@ /* Takes a 4x4 block of pixels and compresses it into 8 bytes in DXT1 format (color only, no alpha). Speed is valued - over prettyness, at least for now. + over prettiness, at least for now. */ void compress_DDS_color_block( int channels, @@ -32,7 +32,7 @@ void compress_DDS_color_block( /* Takes a 4x4 block of pixels and compresses the alpha component it into 8 bytes for use in DXT5 DDS files. - Speed is valued over prettyness, at least for now. + Speed is valued over prettiness, at least for now. */ void compress_DDS_alpha_block( const unsigned char *const uncompressed, From 4fcf714554b31c2bd5e9d0173ae9acc6535bcadb Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:44:47 -0500 Subject: [PATCH 61/89] spelling: product Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/mixed_product.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/glm/gtx/mixed_product.hpp b/includes/glm/gtx/mixed_product.hpp index 50e5d25..70b2bd2 100644 --- a/includes/glm/gtx/mixed_product.hpp +++ b/includes/glm/gtx/mixed_product.hpp @@ -3,7 +3,7 @@ /// /// @see core (dependence) /// -/// @defgroup gtx_mixed_product GLM_GTX_mixed_producte +/// @defgroup gtx_mixed_product GLM_GTX_mixed_product /// @ingroup gtx /// /// Include to use the features of this extension. From 216723a8b039cbfa0ffeaa990256ff206e59633f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:55 -0500 Subject: [PATCH 62/89] spelling: purpose Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/7.in_practice/3.2d_game/0.full_source/shader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/7.in_practice/3.2d_game/0.full_source/shader.h b/src/7.in_practice/3.2d_game/0.full_source/shader.h index 5e6aa56..783c561 100644 --- a/src/7.in_practice/3.2d_game/0.full_source/shader.h +++ b/src/7.in_practice/3.2d_game/0.full_source/shader.h @@ -16,7 +16,7 @@ #include -// General purpsoe shader object. Compiles from file, generates +// General purpose shader object. Compiles from file, generates // compile/link-time error messages and hosts several utility // functions for easy management. class Shader From 525775038cd74cc746dfa9cb5912bffa7e516632 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:56 -0500 Subject: [PATCH 63/89] spelling: receiver Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/ik_ISound.h b/includes/irrKlang/ik_ISound.h index a51ba86..320e72e 100644 --- a/includes/irrKlang/ik_ISound.h +++ b/includes/irrKlang/ik_ISound.h @@ -185,7 +185,7 @@ namespace irrklang should be as long valid as the sound exists or another stop event receiver is set. Set this to null to set no sound stop event receiver. \param userData: A iser data pointer, can be null. */ - virtual void setSoundStopEventReceiver(ISoundStopEventReceiver* reciever, void* userData=0) = 0; + virtual void setSoundStopEventReceiver(ISoundStopEventReceiver* receiver, void* userData=0) = 0; }; } // end namespace irrklang From 6fe677935d7bcaac1a794e13eb21bca4deb40bce Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:56 -0500 Subject: [PATCH 64/89] spelling: receives Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISoundMixedOutputReceiver.h | 2 +- includes/irrKlang/ik_ISoundStopEventReceiver.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/irrKlang/ik_ISoundMixedOutputReceiver.h b/includes/irrKlang/ik_ISoundMixedOutputReceiver.h index 8f6d58e..af65247 100644 --- a/includes/irrKlang/ik_ISoundMixedOutputReceiver.h +++ b/includes/irrKlang/ik_ISoundMixedOutputReceiver.h @@ -13,7 +13,7 @@ namespace irrklang { -//! Interface to be implemented by the user, which recieves the mixed output when it it played by the sound engine. +//! Interface to be implemented by the user, which receives the mixed output when it it played by the sound engine. /** This can be used to store the sound output as .wav file or for creating a Oscillograph or similar. Simply implement your own class derived from ISoundMixedOutputReceiver and use ISoundEngine::setMixedDataOutputReceiver to let the audio driver know about it. */ diff --git a/includes/irrKlang/ik_ISoundStopEventReceiver.h b/includes/irrKlang/ik_ISoundStopEventReceiver.h index df5eb42..98ba63c 100644 --- a/includes/irrKlang/ik_ISoundStopEventReceiver.h +++ b/includes/irrKlang/ik_ISoundStopEventReceiver.h @@ -32,7 +32,7 @@ enum E_STOP_EVENT_CAUSE }; -//! Interface to be implemented by the user, which recieves sound stop events. +//! Interface to be implemented by the user, which receives sound stop events. /** The interface has only one method to be implemented by the user: OnSoundStopped(). Implement this interface and set it via ISound::setSoundStopEventReceiver(). The sound stop event is guaranteed to be called when a sound or sound stream is finished, From 2974edd9d3d4a249399c74b3d9bffd82f789a632 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:57 -0500 Subject: [PATCH 65/89] spelling: reclaim Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/Exporter.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/Exporter.hpp b/includes/assimp/Exporter.hpp index 2c169c7..a85ed52 100644 --- a/includes/assimp/Exporter.hpp +++ b/includes/assimp/Exporter.hpp @@ -254,7 +254,7 @@ public: * The function does nothing if no blob has previously been * previously produced via #ExportToBlob. #FreeBlob is called * automatically by the destructor. The only reason to call - * it manually would be to reclain as much storage as possible + * it manually would be to reclaim as much storage as possible * without giving up the #Exporter instance yet. */ void FreeBlob( ); From 906f5720cf0a7680306bfb4377e26ac7116d42eb Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:58 -0500 Subject: [PATCH 66/89] spelling: recorder Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/irrKlang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/irrKlang.h b/includes/irrKlang/irrKlang.h index 544a7b9..93bf7bb 100644 --- a/includes/irrKlang/irrKlang.h +++ b/includes/irrKlang/irrKlang.h @@ -725,7 +725,7 @@ * * if (!engine || !recorder) * { - * printf("Could not create audio engine or audio recoder\n"); + * printf("Could not create audio engine or audio recorder\n"); * return 1; * } * From ac99e44b50453d99892106af8b2452c95f8e9690 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:58 -0500 Subject: [PATCH 67/89] spelling: rectangle Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/SOIL.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SOIL.h b/includes/SOIL.h index 43f634f..fe0c092 100644 --- a/includes/SOIL.h +++ b/includes/SOIL.h @@ -90,7 +90,7 @@ enum SOIL_FLAG_DDS_LOAD_DIRECT: will load DDS files directly without _ANY_ additional processing SOIL_FLAG_NTSC_SAFE_RGB: clamps RGB components to the range [16,235] SOIL_FLAG_CoCg_Y: Google YCoCg; RGB=>CoYCg, RGBA=>CoCgAY - SOIL_FLAG_TEXTURE_RECTANGE: uses ARB_texture_rectangle ; pixel indexed & no repeat or MIPmaps or cubemaps + SOIL_FLAG_TEXTURE_RECTANGLE: uses ARB_texture_rectangle ; pixel indexed & no repeat or MIPmaps or cubemaps **/ enum { From 1b220d68e4f9cf8cab8e906d679237691c492731 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:59 -0500 Subject: [PATCH 68/89] spelling: regularly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtc/random.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/glm/gtc/random.hpp b/includes/glm/gtc/random.hpp index 9a85958..c6485bf 100644 --- a/includes/glm/gtc/random.hpp +++ b/includes/glm/gtc/random.hpp @@ -52,25 +52,25 @@ namespace glm template GLM_FUNC_DECL genType gaussRand(genType Mean, genType Deviation); - /// Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius + /// Generate a random 2D vector which coordinates are regularly distributed on a circle of a given radius /// /// @see gtc_random template GLM_FUNC_DECL vec<2, T, defaultp> circularRand(T Radius); - /// Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius + /// Generate a random 3D vector which coordinates are regularly distributed on a sphere of a given radius /// /// @see gtc_random template GLM_FUNC_DECL vec<3, T, defaultp> sphericalRand(T Radius); - /// Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a given radius + /// Generate a random 2D vector which coordinates are regularly distributed within the area of a disk of a given radius /// /// @see gtc_random template GLM_FUNC_DECL vec<2, T, defaultp> diskRand(T Radius); - /// Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of a given radius + /// Generate a random 3D vector which coordinates are regularly distributed within the volume of a ball of a given radius /// /// @see gtc_random template From 443e0f1eff5361e4f528583201783e750e951df1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:00 -0500 Subject: [PATCH 69/89] spelling: required Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b71a70..0603844 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,7 +191,7 @@ set(GUEST_ARTICLES configure_file(configuration/root_directory.h.in configuration/root_directory.h) include_directories(${CMAKE_BINARY_DIR}/configuration) -# first create relevant static libraries requried for other projects +# first create relevant static libraries required for other projects add_library(STB_IMAGE "src/stb_image.cpp") set(LIBS ${LIBS} STB_IMAGE) From b58c94480e446767447586732948bf2342a98d9b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:00 -0500 Subject: [PATCH 70/89] spelling: rotation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/learnopengl/entity.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/learnopengl/entity.h b/includes/learnopengl/entity.h index 679a8ee..47540e6 100644 --- a/includes/learnopengl/entity.h +++ b/includes/learnopengl/entity.h @@ -28,10 +28,10 @@ protected: const glm::mat4 transformZ = glm::rotate(glm::mat4(1.0f), glm::radians(m_eulerRot.z), glm::vec3(0.0f, 0.0f, 1.0f)); // Y * X * Z - const glm::mat4 roationMatrix = transformY * transformX * transformZ; + const glm::mat4 rotationMatrix = transformY * transformX * transformZ; // translation * rotation * scale (also know as TRS matrix) - return glm::translate(glm::mat4(1.0f), m_pos) * roationMatrix * glm::scale(glm::mat4(1.0f), m_scale); + return glm::translate(glm::mat4(1.0f), m_pos) * rotationMatrix * glm::scale(glm::mat4(1.0f), m_scale); } public: From fe41bb221154f2e233e8f21c2a3e7b560b4e8b31 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:26:33 -0500 Subject: [PATCH 71/89] spelling: set Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/texture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/texture.h b/includes/assimp/texture.h index ee3ee31..0eb1bdb 100644 --- a/includes/assimp/texture.h +++ b/includes/assimp/texture.h @@ -142,7 +142,7 @@ struct aiTexture * to determine the type of embedded compressed textures. * * If mHeight != 0 this member is undefined. Otherwise it - * is set set to '\\0\\0\\0\\0' if the loader has no additional + * is set to '\\0\\0\\0\\0' if the loader has no additional * information about the texture file format used OR the * file extension of the format without a trailing dot. If there * are multiple file extensions for a format, the shortest From 23422473973b5b300633dfd9e9476077878319fc Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:01 -0500 Subject: [PATCH 72/89] spelling: simplifying Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/6.pbr/2.2.1.ibl_specular/2.2.1.prefilter.fs | 2 +- src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.prefilter.fs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/6.pbr/2.2.1.ibl_specular/2.2.1.prefilter.fs b/src/6.pbr/2.2.1.ibl_specular/2.2.1.prefilter.fs index ed37ef3..d6675ee 100644 --- a/src/6.pbr/2.2.1.ibl_specular/2.2.1.prefilter.fs +++ b/src/6.pbr/2.2.1.ibl_specular/2.2.1.prefilter.fs @@ -65,7 +65,7 @@ void main() { vec3 N = normalize(WorldPos); - // make the simplyfying assumption that V equals R equals the normal + // make the simplifying assumption that V equals R equals the normal vec3 R = N; vec3 V = R; diff --git a/src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.prefilter.fs b/src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.prefilter.fs index ed37ef3..d6675ee 100644 --- a/src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.prefilter.fs +++ b/src/6.pbr/2.2.2.ibl_specular_textured/2.2.2.prefilter.fs @@ -65,7 +65,7 @@ void main() { vec3 N = normalize(WorldPos); - // make the simplyfying assumption that V equals R equals the normal + // make the simplifying assumption that V equals R equals the normal vec3 R = N; vec3 V = R; From eab8cfa373d78a2da8c9b7e34104926f2fcb1f91 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:01 -0500 Subject: [PATCH 73/89] spelling: specifying Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISoundEngine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/irrKlang/ik_ISoundEngine.h b/includes/irrKlang/ik_ISoundEngine.h index c6c54d5..e0f876f 100644 --- a/includes/irrKlang/ik_ISoundEngine.h +++ b/includes/irrKlang/ik_ISoundEngine.h @@ -63,7 +63,7 @@ namespace irrklang //! Plays a sound source as 2D sound with its default settings stored in ISoundSource. /** An ISoundSource object will be created internally when playing a sound the first time, or can be added with getSoundSource(). - \param source The sound source, specifiying sound file source and default settings for this file. + \param source The sound source, specifying sound file source and default settings for this file. Use the other ISoundEngine::play2D() overloads if you want to specify a filename string instead of this. \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to ISound have no effect after such a non looped sound has been stopped automatically. @@ -120,7 +120,7 @@ namespace irrklang //! Plays a sound source as 3D sound with its default settings stored in ISoundSource. /** An ISoundSource object will be created internally when playing a sound the first time, or can be added with getSoundSource(). There is some example code on how to work with 3D sound @ref sound3d. - \param source The sound source, specifiying sound file source and default settings for this file. + \param source The sound source, specifying sound file source and default settings for this file. Use the other ISoundEngine::play2D() overloads if you want to specify a filename string instead of this. \param pos Position of the 3D sound. \param playLooped plays the sound in loop mode. If set to 'false', the sound is played once, then stopped and deleted from the internal playing list. Calls to From 50e9709950812c066404a00ab4221f89486758c9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:02 -0500 Subject: [PATCH 74/89] spelling: squared Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/intersect.hpp | 2 +- includes/glm/gtx/intersect.inl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/glm/gtx/intersect.hpp b/includes/glm/gtx/intersect.hpp index 8caa17e..6cf687e 100644 --- a/includes/glm/gtx/intersect.hpp +++ b/includes/glm/gtx/intersect.hpp @@ -66,7 +66,7 @@ namespace glm template GLM_FUNC_DECL bool intersectRaySphere( genType const& rayStarting, genType const& rayNormalizedDirection, - genType const& sphereCenter, typename genType::value_type const sphereRadiusSquered, + genType const& sphereCenter, typename genType::value_type const sphereRadiusSquared, typename genType::value_type & intersectionDistance); //! Compute the intersection of a ray and a sphere. diff --git a/includes/glm/gtx/intersect.inl b/includes/glm/gtx/intersect.inl index 7035c48..3a69cde 100644 --- a/includes/glm/gtx/intersect.inl +++ b/includes/glm/gtx/intersect.inl @@ -132,7 +132,7 @@ namespace glm GLM_FUNC_QUALIFIER bool intersectRaySphere ( genType const& rayStarting, genType const& rayNormalizedDirection, - genType const& sphereCenter, const typename genType::value_type sphereRadiusSquered, + genType const& sphereCenter, const typename genType::value_type sphereRadiusSquared, typename genType::value_type & intersectionDistance ) { @@ -140,11 +140,11 @@ namespace glm genType diff = sphereCenter - rayStarting; typename genType::value_type t0 = dot(diff, rayNormalizedDirection); typename genType::value_type dSquared = dot(diff, diff) - t0 * t0; - if( dSquared > sphereRadiusSquered ) + if( dSquared > sphereRadiusSquared ) { return false; } - typename genType::value_type t1 = sqrt( sphereRadiusSquered - dSquared ); + typename genType::value_type t1 = sqrt( sphereRadiusSquared - dSquared ); intersectionDistance = t0 > t1 + Epsilon ? t0 - t1 : t0 + t1; return intersectionDistance > Epsilon; } From 28f01479fefbf0265e9e66122a5d4cb462fd5d3e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:02 -0500 Subject: [PATCH 75/89] spelling: subtracting Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/matrix_factorisation.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/glm/gtx/matrix_factorisation.inl b/includes/glm/gtx/matrix_factorisation.inl index c479b8a..e7d3071 100644 --- a/includes/glm/gtx/matrix_factorisation.inl +++ b/includes/glm/gtx/matrix_factorisation.inl @@ -39,7 +39,7 @@ namespace glm q[i] = in[i]; //j = [0,i[ - // Make that column orthogonal to all the previous ones by substracting to it the non-orthogonal projection of all the previous columns. + // Make that column orthogonal to all the previous ones by subtracting to it the non-orthogonal projection of all the previous columns. // Also: Fill the zero elements of R for (length_t j = 0; j < i; j++) { From cac203608380e758e6381d1d2ca1736ba96e69d4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:03 -0500 Subject: [PATCH 76/89] spelling: successful Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_IAudioStream.h | 2 +- includes/irrKlang/ik_ISound.h | 2 +- includes/irrKlang/ik_ISoundEngine.h | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/irrKlang/ik_IAudioStream.h b/includes/irrKlang/ik_IAudioStream.h index 97bfbd4..f7ac054 100644 --- a/includes/irrKlang/ik_IAudioStream.h +++ b/includes/irrKlang/ik_IAudioStream.h @@ -26,7 +26,7 @@ public: //! sets the position of the audio stream. /** For example to let the stream be read from the beginning of the file again, setPosition(0) would be called. This is usually done be the sound engine to - loop a stream after if has reached the end. Return true if sucessful and 0 if not. + loop a stream after if has reached the end. Return true if successful and 0 if not. \param pos: Position in frames.*/ virtual bool setPosition(ik_s32 pos) = 0; diff --git a/includes/irrKlang/ik_ISound.h b/includes/irrKlang/ik_ISound.h index 320e72e..2ae0490 100644 --- a/includes/irrKlang/ik_ISound.h +++ b/includes/irrKlang/ik_ISound.h @@ -149,7 +149,7 @@ namespace irrklang using DirectSound. \param speed Factor of the speed increase or decrease. 2 is twice as fast, 0.5 is only half as fast. The default is 1.0. - \return Returns true if sucessful, false if not. The current sound driver might not + \return Returns true if successful, false if not. The current sound driver might not support changing the playBack speed, or the sound was started with the 'enableSoundEffects' parameter. */ virtual bool setPlaybackSpeed(ik_f32 speed = 1.0f) = 0; diff --git a/includes/irrKlang/ik_ISoundEngine.h b/includes/irrKlang/ik_ISoundEngine.h index e0f876f..8f120db 100644 --- a/includes/irrKlang/ik_ISoundEngine.h +++ b/includes/irrKlang/ik_ISoundEngine.h @@ -182,7 +182,7 @@ namespace irrklang \param preload If this flag is set to false (which is default) the sound engine will not try to load the sound file when calling this method, but only when play() is called with this sound source as parameter. Otherwise the sound will be preloaded. - \return Returns the pointer to the added sound source or 0 if not sucessful because for + \return Returns the pointer to the added sound source or 0 if not successful because for example a sound already existed with that name. If not successful, the reason will be printed into the log. Note: Don't call drop() to this pointer, it will be managed by irrKlang and exist as long as you don't delete irrKlang or call removeSoundSource(). However, @@ -204,7 +204,7 @@ namespace irrklang savely. If set to false, the memory is not copied and the user takes the responsibility that the memory block pointed to remains there as long as the sound engine or at least this sound source exists. - \return Returns the pointer to the added sound source or 0 if not sucessful because for example a sound already + \return Returns the pointer to the added sound source or 0 if not successful because for example a sound already existed with that name. If not successful, the reason will be printed into the log. Note: Don't call drop() to this pointer, it will be managed by irrKlang and exist as long as you don't delete irrKlang or call removeSoundSource(). However, you are free to call grab() if you @@ -223,7 +223,7 @@ namespace irrklang savely. If set to true, the memory is not copied and the user takes the responsibility that the memory block pointed to remains there as long as the sound engine or at least this sound source exists. - \return Returns the pointer to the added sound source or 0 if not sucessful because for + \return Returns the pointer to the added sound source or 0 if not successful because for example a sound already existed with that name. If not successful, the reason will be printed into the log. */ virtual ISoundSource* addSoundSourceFromPCMData(void* memory, ik_s32 sizeInBytes, @@ -237,7 +237,7 @@ namespace irrklang source will use the baseSource as base to access the file and similar, but it will have its own name and its own default settings. \param soundName Name of the new sound source to be added. - \return Returns the pointer to the added sound source or 0 if not sucessful because for + \return Returns the pointer to the added sound source or 0 if not successful because for example a sound already existed with that name. If not successful, the reason will be printed into the log.*/ virtual ISoundSource* addSoundSourceAlias(ISoundSource* baseSource, const ik_c8* soundName) = 0; @@ -390,7 +390,7 @@ namespace irrklang if the parameter ESEO_LOAD_PLUGINS is set (which it is by default), but using this method, it is possible to load plugins from a custom path in addition. \param path Path to the plugin directory, like "C:\games\somegamegame\irrklangplugins". - \return returns true if sucessful or false if not, for example because the path could + \return returns true if successful or false if not, for example because the path could not be found. */ virtual bool loadPlugins(const ik_c8* path) = 0; @@ -402,7 +402,7 @@ namespace irrklang //! Sets the OutputMixedDataReceiver, so you can receive the pure mixed output audio data while it is being played. /** This can be used to store the sound output as .wav file or for creating a Oscillograph or similar. This works only with software based audio drivers, that is ESOD_WIN_MM, ESOD_ALSA, and ESOD_CORE_AUDIO. - Returns true if sucessful and false if the current audio driver doesn't support this feature. Set this to null + Returns true if successful and false if the current audio driver doesn't support this feature. Set this to null again once you don't need it anymore. */ virtual bool setMixedDataOutputReceiver(ISoundMixedOutputReceiver* receiver) = 0; }; From c31f16483c84f244863de7cb5fd8a10bfd67afbd Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:03 -0500 Subject: [PATCH 77/89] spelling: successfully Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/learnopengl/shader.h | 2 +- includes/learnopengl/shader_c.h | 2 +- includes/learnopengl/shader_m.h | 2 +- includes/learnopengl/shader_s.h | 2 +- includes/learnopengl/shader_t.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/learnopengl/shader.h b/includes/learnopengl/shader.h index 1104233..5bc746d 100644 --- a/includes/learnopengl/shader.h +++ b/includes/learnopengl/shader.h @@ -55,7 +55,7 @@ public: } catch (std::ifstream::failure& e) { - std::cout << "ERROR::SHADER::FILE_NOT_SUCCESFULLY_READ: " << e.what() << std::endl; + std::cout << "ERROR::SHADER::FILE_NOT_SUCCESSFULLY_READ: " << e.what() << std::endl; } const char* vShaderCode = vertexCode.c_str(); const char * fShaderCode = fragmentCode.c_str(); diff --git a/includes/learnopengl/shader_c.h b/includes/learnopengl/shader_c.h index d44581d..df89f95 100644 --- a/includes/learnopengl/shader_c.h +++ b/includes/learnopengl/shader_c.h @@ -37,7 +37,7 @@ public: } catch (std::ifstream::failure& e) { - std::cout << "ERROR::SHADER::FILE_NOT_SUCCESFULLY_READ: " << e.what() << std::endl; + std::cout << "ERROR::SHADER::FILE_NOT_SUCCESSFULLY_READ: " << e.what() << std::endl; } const char* cShaderCode = computeCode.c_str(); // 2. compile shaders diff --git a/includes/learnopengl/shader_m.h b/includes/learnopengl/shader_m.h index d5e90f0..fddb346 100644 --- a/includes/learnopengl/shader_m.h +++ b/includes/learnopengl/shader_m.h @@ -43,7 +43,7 @@ public: } catch (std::ifstream::failure& e) { - std::cout << "ERROR::SHADER::FILE_NOT_SUCCESFULLY_READ: " << e.what() << std::endl; + std::cout << "ERROR::SHADER::FILE_NOT_SUCCESSFULLY_READ: " << e.what() << std::endl; } const char* vShaderCode = vertexCode.c_str(); const char * fShaderCode = fragmentCode.c_str(); diff --git a/includes/learnopengl/shader_s.h b/includes/learnopengl/shader_s.h index 80565a8..7d2767e 100644 --- a/includes/learnopengl/shader_s.h +++ b/includes/learnopengl/shader_s.h @@ -42,7 +42,7 @@ public: } catch (std::ifstream::failure& e) { - std::cout << "ERROR::SHADER::FILE_NOT_SUCCESFULLY_READ: " << e.what() << std::endl; + std::cout << "ERROR::SHADER::FILE_NOT_SUCCESSFULLY_READ: " << e.what() << std::endl; } const char* vShaderCode = vertexCode.c_str(); const char * fShaderCode = fragmentCode.c_str(); diff --git a/includes/learnopengl/shader_t.h b/includes/learnopengl/shader_t.h index 77468e6..1994e6a 100644 --- a/includes/learnopengl/shader_t.h +++ b/includes/learnopengl/shader_t.h @@ -76,7 +76,7 @@ public: } catch (std::ifstream::failure& e) { - std::cout << "ERROR::SHADER::FILE_NOT_SUCCESFULLY_READ" << std::endl; + std::cout << "ERROR::SHADER::FILE_NOT_SUCCESSFULLY_READ" << std::endl; } const char* vShaderCode = vertexCode.c_str(); const char * fShaderCode = fragmentCode.c_str(); From 93719698f50a76172f32e7bce38a551a8a9b2c97 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:04 -0500 Subject: [PATCH 78/89] spelling: support Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/range.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/glm/gtx/range.hpp b/includes/glm/gtx/range.hpp index 38c5713..0d8a482 100644 --- a/includes/glm/gtx/range.hpp +++ b/includes/glm/gtx/range.hpp @@ -20,7 +20,7 @@ #endif #if !GLM_HAS_RANGE_FOR -# error "GLM_GTX_range requires C++11 suppport or 'range for'" +# error "GLM_GTX_range requires C++11 support or 'range for'" #endif #include "../gtc/type_ptr.hpp" From ac51e6b091b94f3b906a4215fbc85ba34d2b2631 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:04 -0500 Subject: [PATCH 79/89] spelling: symmetric Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/ext/matrix_clip_space.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/includes/glm/ext/matrix_clip_space.hpp b/includes/glm/ext/matrix_clip_space.hpp index c3874f2..dda58e7 100644 --- a/includes/glm/ext/matrix_clip_space.hpp +++ b/includes/glm/ext/matrix_clip_space.hpp @@ -212,7 +212,7 @@ namespace glm T left, T right, T bottom, T top, T near, T far); - /// Creates a matrix for a right handed, symetric perspective-view frustum. + /// Creates a matrix for a right handed, symmetric perspective-view frustum. /// The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) /// /// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. @@ -225,7 +225,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveRH_ZO( T fovy, T aspect, T near, T far); - /// Creates a matrix for a right handed, symetric perspective-view frustum. + /// Creates a matrix for a right handed, symmetric perspective-view frustum. /// The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition) /// /// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. @@ -238,7 +238,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveRH_NO( T fovy, T aspect, T near, T far); - /// Creates a matrix for a left handed, symetric perspective-view frustum. + /// Creates a matrix for a left handed, symmetric perspective-view frustum. /// The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) /// /// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. @@ -251,7 +251,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveLH_ZO( T fovy, T aspect, T near, T far); - /// Creates a matrix for a left handed, symetric perspective-view frustum. + /// Creates a matrix for a left handed, symmetric perspective-view frustum. /// The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition) /// /// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. @@ -264,7 +264,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveLH_NO( T fovy, T aspect, T near, T far); - /// Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. + /// Creates a matrix for a symmetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. /// The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) /// /// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. @@ -277,7 +277,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveZO( T fovy, T aspect, T near, T far); - /// Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. + /// Creates a matrix for a symmetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. /// The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition) /// /// @param fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians. @@ -290,7 +290,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveNO( T fovy, T aspect, T near, T far); - /// Creates a matrix for a right handed, symetric perspective-view frustum. + /// Creates a matrix for a right handed, symmetric perspective-view frustum. /// If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) /// Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition) /// @@ -304,7 +304,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveRH( T fovy, T aspect, T near, T far); - /// Creates a matrix for a left handed, symetric perspective-view frustum. + /// Creates a matrix for a left handed, symmetric perspective-view frustum. /// If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) /// Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition) /// @@ -318,7 +318,7 @@ namespace glm GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveLH( T fovy, T aspect, T near, T far); - /// Creates a matrix for a symetric perspective-view frustum based on the default handedness and default near and far clip planes definition. + /// Creates a matrix for a symmetric perspective-view frustum based on the default handedness and default near and far clip planes definition. /// To change default handedness use GLM_FORCE_LEFT_HANDED. To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE. /// /// @param fovy Specifies the field of view angle in the y direction. Expressed in radians. From 5d2f1e3edf7c5e630b2cfc4b3fa2e753012dd7b9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:05 -0500 Subject: [PATCH 80/89] spelling: temporarily Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/irrKlang.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/irrKlang.h b/includes/irrKlang/irrKlang.h index 93bf7bb..1aac380 100644 --- a/includes/irrKlang/irrKlang.h +++ b/includes/irrKlang/irrKlang.h @@ -156,7 +156,7 @@ *
  • irrKlang is crashing in your application? This should not happen, irrKlang is pretty stable, * and in most cases, this is a problem in your code: In a lot of cases the reason is simply * a wrong call to irrklang::IRefCounted::drop(). Be sure you are doing it correctly. (If you are unsure, - * tempoarily remove all calls to irrklang::IRefCounted::drop() and see if this helps.)
  • + * temporarily remove all calls to irrklang::IRefCounted::drop() and see if this helps.) * * *
    From f16ee0abb76bf51f091beeec61ee0ceb7b02aecb Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:23:14 -0500 Subject: [PATCH 81/89] spelling: than Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/glm/common.hpp b/includes/glm/common.hpp index 25e7a37..b1bc22e 100644 --- a/includes/glm/common.hpp +++ b/includes/glm/common.hpp @@ -53,7 +53,7 @@ namespace glm template GLM_FUNC_DECL vec sign(vec const& x); - /// Returns a value equal to the nearest integer that is less then or equal to x. + /// Returns a value equal to the nearest integer that is less than or equal to x. /// /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector /// @tparam T Floating-point scalar types From 0dbbc8829161447f543b7d815582ebb3cd94b5c4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 17 Jan 2023 23:26:01 -0500 Subject: [PATCH 82/89] spelling: the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/material.h | 2 +- includes/assimp/types.h | 2 +- src/7.in_practice/3.2d_game/0.full_source/game.cpp | 2 +- src/7.in_practice/3.2d_game/0.full_source/progress/5.game.cpp | 2 +- src/7.in_practice/3.2d_game/0.full_source/progress/6.game.cpp | 2 +- src/7.in_practice/3.2d_game/0.full_source/progress/7.game.cpp | 2 +- src/7.in_practice/3.2d_game/0.full_source/progress/8.game.cpp | 2 +- src/7.in_practice/3.2d_game/0.full_source/progress/9.game.cpp | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/assimp/material.h b/includes/assimp/material.h index b818c5c..da4046d 100644 --- a/includes/assimp/material.h +++ b/includes/assimp/material.h @@ -1506,7 +1506,7 @@ ASSIMP_API unsigned int aiGetMaterialTextureCount(const C_STRUCT aiMaterial* pMa * Pass NULL if you're not interested in this information. Otherwise, * pass a pointer to an array of two aiTextureMapMode's (one for each * axis, UV order). - * @param[out] flags Receives the the texture flags. + * @param[out] flags Receives the texture flags. * @return AI_SUCCESS on success, otherwise something else. Have fun.*/ // --------------------------------------------------------------------------- #ifdef __cplusplus diff --git a/includes/assimp/types.h b/includes/assimp/types.h index 592d5c6..81388bb 100644 --- a/includes/assimp/types.h +++ b/includes/assimp/types.h @@ -435,7 +435,7 @@ enum aiDefaultLogStream /** Stream the log to std::cerr */ aiDefaultLogStream_STDERR = 0x4, - /** MSVC only: Stream the log the the debugger + /** MSVC only: Stream the log the debugger * (this relies on OutputDebugString from the Win32 SDK) */ aiDefaultLogStream_DEBUGGER = 0x8, diff --git a/src/7.in_practice/3.2d_game/0.full_source/game.cpp b/src/7.in_practice/3.2d_game/0.full_source/game.cpp index 8e281ab..7825503 100644 --- a/src/7.in_practice/3.2d_game/0.full_source/game.cpp +++ b/src/7.in_practice/3.2d_game/0.full_source/game.cpp @@ -519,7 +519,7 @@ Collision CheckCollision(BallObject &one, GameObject &two) // AABB - Circle coll // get difference vector between both centers glm::vec2 difference = center - aabb_center; glm::vec2 clamped = glm::clamp(difference, -aabb_half_extents, aabb_half_extents); - // now that we know the the clamped values, add this to AABB_center and we get the value of box closest to circle + // now that we know the clamped values, add this to AABB_center and we get the value of box closest to circle glm::vec2 closest = aabb_center + clamped; // now retrieve vector between center circle and closest point AABB and check if length < radius difference = closest - center; diff --git a/src/7.in_practice/3.2d_game/0.full_source/progress/5.game.cpp b/src/7.in_practice/3.2d_game/0.full_source/progress/5.game.cpp index 9c9db10..7797747 100644 --- a/src/7.in_practice/3.2d_game/0.full_source/progress/5.game.cpp +++ b/src/7.in_practice/3.2d_game/0.full_source/progress/5.game.cpp @@ -227,7 +227,7 @@ Collision CheckCollision(BallObject &one, GameObject &two) // AABB - Circle coll // get difference vector between both centers glm::vec2 difference = center - aabb_center; glm::vec2 clamped = glm::clamp(difference, -aabb_half_extents, aabb_half_extents); - // now that we know the the clamped values, add this to AABB_center and we get the value of box closest to circle + // now that we know the clamped values, add this to AABB_center and we get the value of box closest to circle glm::vec2 closest = aabb_center + clamped; // now retrieve vector between center circle and closest point AABB and check if length < radius difference = closest - center; diff --git a/src/7.in_practice/3.2d_game/0.full_source/progress/6.game.cpp b/src/7.in_practice/3.2d_game/0.full_source/progress/6.game.cpp index c927ab2..66e633a 100644 --- a/src/7.in_practice/3.2d_game/0.full_source/progress/6.game.cpp +++ b/src/7.in_practice/3.2d_game/0.full_source/progress/6.game.cpp @@ -239,7 +239,7 @@ Collision CheckCollision(BallObject &one, GameObject &two) // AABB - Circle coll // get difference vector between both centers glm::vec2 difference = center - aabb_center; glm::vec2 clamped = glm::clamp(difference, -aabb_half_extents, aabb_half_extents); - // now that we know the the clamped values, add this to AABB_center and we get the value of box closest to circle + // now that we know the clamped values, add this to AABB_center and we get the value of box closest to circle glm::vec2 closest = aabb_center + clamped; // now retrieve vector between center circle and closest point AABB and check if length < radius difference = closest - center; diff --git a/src/7.in_practice/3.2d_game/0.full_source/progress/7.game.cpp b/src/7.in_practice/3.2d_game/0.full_source/progress/7.game.cpp index 49fbb79..2d11158 100644 --- a/src/7.in_practice/3.2d_game/0.full_source/progress/7.game.cpp +++ b/src/7.in_practice/3.2d_game/0.full_source/progress/7.game.cpp @@ -264,7 +264,7 @@ Collision CheckCollision(BallObject &one, GameObject &two) // AABB - Circle coll // get difference vector between both centers glm::vec2 difference = center - aabb_center; glm::vec2 clamped = glm::clamp(difference, -aabb_half_extents, aabb_half_extents); - // now that we know the the clamped values, add this to AABB_center and we get the value of box closest to circle + // now that we know the clamped values, add this to AABB_center and we get the value of box closest to circle glm::vec2 closest = aabb_center + clamped; // now retrieve vector between center circle and closest point AABB and check if length < radius difference = closest - center; diff --git a/src/7.in_practice/3.2d_game/0.full_source/progress/8.game.cpp b/src/7.in_practice/3.2d_game/0.full_source/progress/8.game.cpp index 93af2bd..5d6d64c 100644 --- a/src/7.in_practice/3.2d_game/0.full_source/progress/8.game.cpp +++ b/src/7.in_practice/3.2d_game/0.full_source/progress/8.game.cpp @@ -434,7 +434,7 @@ Collision CheckCollision(BallObject &one, GameObject &two) // AABB - Circle coll // get difference vector between both centers glm::vec2 difference = center - aabb_center; glm::vec2 clamped = glm::clamp(difference, -aabb_half_extents, aabb_half_extents); - // now that we know the the clamped values, add this to AABB_center and we get the value of box closest to circle + // now that we know the clamped values, add this to AABB_center and we get the value of box closest to circle glm::vec2 closest = aabb_center + clamped; // now retrieve vector between center circle and closest point AABB and check if length < radius difference = closest - center; diff --git a/src/7.in_practice/3.2d_game/0.full_source/progress/9.game.cpp b/src/7.in_practice/3.2d_game/0.full_source/progress/9.game.cpp index 0b72836..be54256 100644 --- a/src/7.in_practice/3.2d_game/0.full_source/progress/9.game.cpp +++ b/src/7.in_practice/3.2d_game/0.full_source/progress/9.game.cpp @@ -446,7 +446,7 @@ Collision CheckCollision(BallObject &one, GameObject &two) // AABB - Circle coll // get difference vector between both centers glm::vec2 difference = center - aabb_center; glm::vec2 clamped = glm::clamp(difference, -aabb_half_extents, aabb_half_extents); - // now that we know the the clamped values, add this to AABB_center and we get the value of box closest to circle + // now that we know the clamped values, add this to AABB_center and we get the value of box closest to circle glm::vec2 closest = aabb_center + clamped; // now retrieve vector between center circle and closest point AABB and check if length < radius difference = closest - center; From df431b25a70827b1d78f64c4c96b9617ca0f4c26 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:05 -0500 Subject: [PATCH 83/89] spelling: therefore Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/assimp/mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/assimp/mesh.h b/includes/assimp/mesh.h index 9d521d7..97ad25f 100644 --- a/includes/assimp/mesh.h +++ b/includes/assimp/mesh.h @@ -54,7 +54,7 @@ extern "C" { // --------------------------------------------------------------------------- // Limits. These values are required to match the settings Assimp was -// compiled against. Therfore, do not redefine them unless you build the +// compiled against. Therefore, do not redefine them unless you build the // library from source using the same definitions. // --------------------------------------------------------------------------- From e5977631834b7a4c509c1b559ffae37af5898dc2 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:06 -0500 Subject: [PATCH 84/89] spelling: threshold Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/irrKlang/ik_ISoundSource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/irrKlang/ik_ISoundSource.h b/includes/irrKlang/ik_ISoundSource.h index 6ee8384..e6a2323 100644 --- a/includes/irrKlang/ik_ISoundSource.h +++ b/includes/irrKlang/ik_ISoundSource.h @@ -27,7 +27,7 @@ namespace irrklang //! Sets the stream mode which should be used for a sound played from this source. /** Note that if this is set to ESM_NO_STREAMING, the engine still might decide - to stream the sound if it is too big. The threashold for this can be + to stream the sound if it is too big. The threshold for this can be adjusted using ISoundSource::setForcedStreamingThreshold(). */ virtual void setStreamMode(E_STREAM_MODE mode) = 0; From c26cb4730d1077d0619897a0a0db39d27acd36d8 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:06 -0500 Subject: [PATCH 85/89] spelling: transform Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/8.guest/2021/1.scene/1.scene_graph/scene_graph.cpp | 2 +- src/8.guest/2021/1.scene/2.frustum_culling/frustum_culling.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/8.guest/2021/1.scene/1.scene_graph/scene_graph.cpp b/src/8.guest/2021/1.scene/1.scene_graph/scene_graph.cpp index 49ee12d..eca1380 100644 --- a/src/8.guest/2021/1.scene/1.scene_graph/scene_graph.cpp +++ b/src/8.guest/2021/1.scene/1.scene_graph/scene_graph.cpp @@ -112,7 +112,7 @@ int main() lastEntity->addChild(model); lastEntity = lastEntity->children.back().get(); - //Set tranform values + //Set transform values lastEntity->transform.setLocalPosition({ 10, 0, 0 }); lastEntity->transform.setLocalScale({ scale, scale, scale }); } diff --git a/src/8.guest/2021/1.scene/2.frustum_culling/frustum_culling.cpp b/src/8.guest/2021/1.scene/2.frustum_culling/frustum_culling.cpp index fc83ad7..99d7578 100644 --- a/src/8.guest/2021/1.scene/2.frustum_culling/frustum_culling.cpp +++ b/src/8.guest/2021/1.scene/2.frustum_culling/frustum_culling.cpp @@ -117,7 +117,7 @@ int main() ourEntity.addChild(model); lastEntity = ourEntity.children.back().get(); - //Set tranform values + //Set transform values lastEntity->transform.setLocalPosition({ x * 10.f - 100.f, 0.f, z * 10.f - 100.f }); } } From 164dc272d49063438b155e0acf9570fba93ae5bb Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:07 -0500 Subject: [PATCH 86/89] spelling: transitions Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/easing.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/glm/gtx/easing.hpp b/includes/glm/gtx/easing.hpp index eec96c4..d98846c 100644 --- a/includes/glm/gtx/easing.hpp +++ b/includes/glm/gtx/easing.hpp @@ -9,7 +9,7 @@ /// /// Include to use the features of this extension. /// -/// Easing functions for animations and transitons +/// Easing functions for animations and transitions /// All functions take a parameter x in the range [0.0,1.0] /// /// Based on the AHEasing project of Warren Moore (https://github.com/warrenm/AHEasing) From 58bf737f59aab129070190c5a2e259310e48a025 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:45:53 -0500 Subject: [PATCH 87/89] spelling: unformatted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/glm/gtx/io.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/glm/gtx/io.hpp b/includes/glm/gtx/io.hpp index 27f4787..522433b 100644 --- a/includes/glm/gtx/io.hpp +++ b/includes/glm/gtx/io.hpp @@ -150,7 +150,7 @@ namespace glm template std::basic_ios& formatted(std::basic_ios&); template - std::basic_ios& unformattet(std::basic_ios&); + std::basic_ios& unformatted(std::basic_ios&); template std::basic_ostream& operator<<(std::basic_ostream&, precision const&); From d2d505d5ba0f92fcbb54ca7dd16b66cd3924c006 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:08 -0500 Subject: [PATCH 88/89] spelling: unnecessary Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- includes/learnopengl/model.h | 2 +- includes/learnopengl/model_animation.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/learnopengl/model.h b/includes/learnopengl/model.h index 81f864f..92a55ce 100644 --- a/includes/learnopengl/model.h +++ b/includes/learnopengl/model.h @@ -195,7 +195,7 @@ private: texture.type = typeName; texture.path = str.C_Str(); textures.push_back(texture); - textures_loaded.push_back(texture); // store it as texture loaded for entire model, to ensure we won't unnecesery load duplicate textures. + textures_loaded.push_back(texture); // store it as texture loaded for entire model, to ensure we won't unnecessary load duplicate textures. } } return textures; diff --git a/includes/learnopengl/model_animation.h b/includes/learnopengl/model_animation.h index 14144a1..b31ff34 100644 --- a/includes/learnopengl/model_animation.h +++ b/includes/learnopengl/model_animation.h @@ -270,7 +270,7 @@ private: texture.type = typeName; texture.path = str.C_Str(); textures.push_back(texture); - textures_loaded.push_back(texture); // store it as texture loaded for entire model, to ensure we won't unnecesery load duplicate textures. + textures_loaded.push_back(texture); // store it as texture loaded for entire model, to ensure we won't unnecessary load duplicate textures. } } return textures; From 43c71b532ebab755b3683ac8c8b5ee0cfccbea68 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:35:08 -0500 Subject: [PATCH 89/89] spelling: variable Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- cmake/modules/FindGLM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindGLM.cmake b/cmake/modules/FindGLM.cmake index a499f14..0490dd0 100644 --- a/cmake/modules/FindGLM.cmake +++ b/cmake/modules/FindGLM.cmake @@ -12,7 +12,7 @@ # /include/glm/glm.hpp # This variable can either be a cmake or environment # variable. Note however that changing the value -# of the environment varible will NOT result in +# of the environment variable will NOT result in # re-running the header search and therefore NOT # adjust the variables set by this module. #=============================================================================