Skip to content

Commit 33cccb5

Browse files
committed
docs: Fix a few typos
There are small typos in: - Chapter02/AnimSpriteComponent.h - Chapter02/BGSpriteComponent.h - Chapter07/SoundEvent.h - Chapter09/SoundEvent.h - Chapter10/PhysWorld.h - Chapter10/SoundEvent.h - Chapter11/PhysWorld.h - Chapter11/SoundEvent.h - Chapter12/PhysWorld.h - Chapter12/SoundEvent.h - Chapter13/PhysWorld.h - Chapter13/Renderer.cpp - Chapter13/SoundEvent.h - Chapter13/Texture.cpp - Chapter14/Actor.h - Chapter14/PhysWorld.h - Chapter14/Renderer.cpp - Chapter14/SoundEvent.h - Chapter14/Texture.cpp - Errata.md Fixes: - Should read `beginning` rather than `begining`. - Should read `component` rather than `componnet`. - Should read `projection` rather than `projeciton`. - Should read `overridden` rather than `overriden`. - Should read `anisotropic` rather than `aniostropic`. - Should read `through` rather than `throuch`. - Should read `associative` rather than `assocaitive`.
1 parent 013656a commit 33cccb5

20 files changed

Lines changed: 20 additions & 20 deletions

‎Chapter02/AnimSpriteComponent.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AnimSpriteComponent : public SpriteComponent
1313
{
1414
public:
1515
AnimSpriteComponent(class Actor* owner, int drawOrder = 100);
16-
// Update animation every frame (overriden from component)
16+
// Update animation every frame (overridden from component)
1717
void Update(float deltaTime) override;
1818
// Set the textures used for animation
1919
void SetAnimTextures(const std::vector<SDL_Texture*>& textures);

‎Chapter02/BGSpriteComponent.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class BGSpriteComponent : public SpriteComponent
1515
public:
1616
// Set draw order to default to lower (so it's in the background)
1717
BGSpriteComponent(class Actor* owner, int drawOrder = 10);
18-
// Update/draw overriden from parent
18+
// Update/draw overridden from parent
1919
void Update(float deltaTime) override;
2020
void Draw(SDL_Renderer* renderer) override;
2121
// Set the textures used for the background

‎Chapter07/SoundEvent.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SoundEvent
1616
SoundEvent();
1717
// Returns true if associated FMOD event still exists
1818
bool IsValid();
19-
// Restart event from begining
19+
// Restart event from beginning
2020
void Restart();
2121
// Stop this event
2222
void Stop(bool allowFadeOut = true);

‎Chapter09/SoundEvent.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SoundEvent
1616
SoundEvent();
1717
// Returns true if associated FMOD event still exists
1818
bool IsValid();
19-
// Restart event from begining
19+
// Restart event from beginning
2020
void Restart();
2121
// Stop this event
2222
void Stop(bool allowFadeOut = true);

‎Chapter10/PhysWorld.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class PhysWorld
2626
Vector3 mNormal;
2727
// Component collided with
2828
class BoxComponent* mBox;
29-
// Owning actor of componnet
29+
// Owning actor of component
3030
class Actor* mActor;
3131
};
3232

‎Chapter10/SoundEvent.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SoundEvent
1616
SoundEvent();
1717
// Returns true if associated FMOD event still exists
1818
bool IsValid();
19-
// Restart event from begining
19+
// Restart event from beginning
2020
void Restart();
2121
// Stop this event
2222
void Stop(bool allowFadeOut = true);

‎Chapter11/PhysWorld.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class PhysWorld
2626
Vector3 mNormal;
2727
// Component collided with
2828
class BoxComponent* mBox;
29-
// Owning actor of componnet
29+
// Owning actor of component
3030
class Actor* mActor;
3131
};
3232

‎Chapter11/SoundEvent.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SoundEvent
1616
SoundEvent();
1717
// Returns true if associated FMOD event still exists
1818
bool IsValid();
19-
// Restart event from begining
19+
// Restart event from beginning
2020
void Restart();
2121
// Stop this event
2222
void Stop(bool allowFadeOut = true);

‎Chapter12/PhysWorld.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class PhysWorld
2626
Vector3 mNormal;
2727
// Component collided with
2828
class BoxComponent* mBox;
29-
// Owning actor of componnet
29+
// Owning actor of component
3030
class Actor* mActor;
3131
};
3232

‎Chapter12/SoundEvent.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SoundEvent
1616
SoundEvent();
1717
// Returns true if associated FMOD event still exists
1818
bool IsValid();
19-
// Restart event from begining
19+
// Restart event from beginning
2020
void Restart();
2121
// Stop this event
2222
void Stop(bool allowFadeOut = true);

0 commit comments

Comments
 (0)