Spelling fixes

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6458 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2023-04-01 15:50:08 +00:00
parent 3a9875cc77
commit 920e327d33
5 changed files with 22 additions and 22 deletions

View File

@ -79,7 +79,7 @@ namespace scene
//! This method is called just before the rendering process of the whole scene. //! This method is called just before the rendering process of the whole scene.
/** Nodes may register themselves in the render pipeline during this call, /** Nodes may register themselves in the render pipeline during this call,
precalculate the geometry which should be renderered, and prevent their precalculate the geometry which should be rendered, and prevent their
children from being able to register themselves if they are clipped by simply children from being able to register themselves if they are clipped by simply
not calling their OnRegisterSceneNode method. not calling their OnRegisterSceneNode method.
If you are implementing your own scene node, you should overwrite this method If you are implementing your own scene node, you should overwrite this method

View File

@ -233,7 +233,7 @@ namespace core
//! Translate a vector by the inverse of the translation part of this matrix. //! Translate a vector by the inverse of the translation part of this matrix.
void inverseTranslateVect( vector3df& vect ) const; void inverseTranslateVect( vector3df& vect ) const;
//! Tranform (rotate/scale) a vector by the inverse of the rotation part this matrix //! Transform (rotate/scale) a vector by the inverse of the rotation part this matrix
void inverseRotateVect( vector3df& vect ) const; void inverseRotateVect( vector3df& vect ) const;
//! Transform (rotate/scale) a vector by the rotation part of this matrix. //! Transform (rotate/scale) a vector by the rotation part of this matrix.
@ -2092,7 +2092,7 @@ namespace core
core::vector3df v(vs); core::vector3df v(vs);
v.normalize(); v.normalize();
// cosinus angle // cosine angle
T ca = f.dotProduct(t); T ca = f.dotProduct(t);
core::vector3df vt(v * (1 - ca)); core::vector3df vt(v * (1 - ca));
@ -2153,7 +2153,7 @@ namespace core
// axis multiplication by sin // axis multiplication by sin
const core::vector3df vs = look.crossProduct(from); const core::vector3df vs = look.crossProduct(from);
// cosinus angle // cosine angle
const f32 ca = from.dotProduct(look); const f32 ca = from.dotProduct(look);
core::vector3df vt(up * (1.f - ca)); core::vector3df vt(up * (1.f - ca));

View File

@ -794,7 +794,7 @@ COBJMeshFileLoader::SObjMtl* COBJMeshFileLoader::findMtl(const core::stringc& mt
Materials.getLast()->Group = grpName; Materials.getLast()->Group = grpName;
return Materials.getLast(); return Materials.getLast();
} }
// we found a new group for a non-existant material // we found a new group for a non-existent material
else if (grpName.size()) else if (grpName.size())
{ {
Materials.push_back(new SObjMtl(*Materials[0])); Materials.push_back(new SObjMtl(*Materials[0]));

View File

@ -464,7 +464,7 @@ namespace video
core::matrix4 Matrices[ETS_COUNT]; core::matrix4 Matrices[ETS_COUNT];
core::array<u8> ColorBuffer; core::array<u8> ColorBuffer;
//! enumeration for rendering modes such as 2d and 3d for minizing the switching of renderStates. //! enumeration for rendering modes such as 2d and 3d for minimizing the switching of renderStates.
enum E_RENDER_MODE enum E_RENDER_MODE
{ {
ERM_NONE = 0, // no render state has been set yet. ERM_NONE = 0, // no render state has been set yet.