Skip to content

Commit 5776362

Browse files
committed
Fix misc. typos
Found via `codespell`
1 parent d02ce4a commit 5776362

17 files changed

Lines changed: 27 additions & 27 deletions

File tree

AssetLoader/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Asset Loader
22

3-
The asset loading libary currently supports GLTF 2.0 format.
3+
The asset loading library currently supports GLTF 2.0 format.
44

55
## GLTF 2.0
66

AssetLoader/src/GLTFLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ void Node::UpdateTransforms()
220220
if (pSkin != nullptr)
221221
{
222222
// Update join matrices
223-
auto InverseTransform = pMesh->Transforms.matrix.Inverse(); // TODO: do not use inverse tranform here
223+
auto InverseTransform = pMesh->Transforms.matrix.Inverse(); // TODO: do not use inverse transform here
224224
if (pMesh->Transforms.jointMatrices.size() != pSkin->Joints.size())
225225
pMesh->Transforms.jointMatrices.resize(pSkin->Joints.size());
226226
for (size_t i = 0; i < pSkin->Joints.size(); i++)

HLSL2GLSLConverter/src/HLSL2GLSLConverterApp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ int HLSL2GLSLConverterApp::ParseCmdLine(int argc, char** argv)
123123
m_ShaderType = SHADER_TYPE_COMPUTE;
124124
else
125125
{
126-
LOG_ERROR_MESSAGE("Unknow shader type ", argv[a], "; Allowed values: vs,gs,ps,ds,hs,cs");
126+
LOG_ERROR_MESSAGE("Unknown shader type ", argv[a], "; Allowed values: vs,gs,ps,ds,hs,cs");
127127
return -1;
128128
}
129129
}
@@ -137,7 +137,7 @@ int HLSL2GLSLConverterApp::ParseCmdLine(int argc, char** argv)
137137
}
138138
else
139139
{
140-
LOG_ERROR_MESSAGE("Unknow command line option ", argv[a]);
140+
LOG_ERROR_MESSAGE("Unknown command line option ", argv[a]);
141141
return -1;
142142
}
143143
}

NativeApp/Android/arcore_sdk/include/arcore_c_api.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ void ArCoreApk_checkAvailability(void *env,
10931093
void *context,
10941094
ArAvailability *out_availability);
10951095

1096-
/// Initiates installation of ARCore if needed. When your apllication launches
1096+
/// Initiates installation of ARCore if needed. When your application launches
10971097
/// or enters an AR mode, it should call this method with @c
10981098
/// user_requested_install = 1.
10991099
///
@@ -1996,7 +1996,7 @@ void ArPose_getPoseRaw(const ArSession *session,
19961996
/// @param[in] session The ARCore session
19971997
/// @param[in] pose The pose to convert
19981998
/// @param[out] out_matrix_col_major_4x4 Pointer to an array of 16 floats, to be
1999-
/// filled with a column-major homogenous transformation matrix, as used by
1999+
/// filled with a column-major homogeneous transformation matrix, as used by
20002000
/// OpenGL.
20012001
void ArPose_getMatrix(const ArSession *session,
20022002
const ArPose *pose,
@@ -2076,7 +2076,7 @@ void ArCamera_getDisplayOrientedPose(const ArSession *session,
20762076
/// @param[in] session The ARCore session
20772077
/// @param[in] camera The session's camera.
20782078
/// @param[inout] out_col_major_4x4 Pointer to an array of 16 floats, to be
2079-
/// filled with a column-major homogenous transformation matrix, as used by
2079+
/// filled with a column-major homogeneous transformation matrix, as used by
20802080
/// OpenGL.
20812081
void ArCamera_getViewMatrix(const ArSession *session,
20822082
const ArCamera *camera,
@@ -2122,7 +2122,7 @@ void ArCamera_getTrackingFailureReason(
21222122
/// @param[in] near Specifies the near clip plane, in meters
21232123
/// @param[in] far Specifies the far clip plane, in meters
21242124
/// @param[inout] dest_col_major_4x4 Pointer to an array of 16 floats, to
2125-
/// be filled with a column-major homogenous transformation matrix, as used
2125+
/// be filled with a column-major homogeneous transformation matrix, as used
21262126
/// by OpenGL.
21272127
void ArCamera_getProjectionMatrix(const ArSession *session,
21282128
const ArCamera *camera,

NativeApp/Android/ndk_helper/include/JNIHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class JNIHelper {
225225
/*
226226
* Retrieve external file directory through JNI call
227227
*
228-
* return: std::string containing external file diretory
228+
* return: std::string containing external file directory
229229
*/
230230
std::string GetExternalFilesDir();
231231

NativeApp/Android/ndk_helper/src/tapCamera.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ void TapCamera::Drag(const Vec2& v) {
212212
}
213213

214214
//----------------------------------------------------------
215-
// Pinch controll
215+
// Pinch control
216216
//----------------------------------------------------------
217217
void TapCamera::BeginPinch(const Vec2& v1, const Vec2& v2) {
218218
if (dragging_) EndDrag();
@@ -289,7 +289,7 @@ void TapCamera::Pinch(const Vec2& v1, const Vec2& v2) {
289289
}
290290

291291
//----------------------------------------------------------
292-
// Trackball controll
292+
// Trackball control
293293
//----------------------------------------------------------
294294
void TapCamera::BallUpdate() {
295295
if (dragging_) {

NativeApp/Apple/Source/Classes/OSX/GLView.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ - (void) prepareOpenGL
9090
{
9191
[super prepareOpenGL];
9292

93-
// Application must be initialized befor display link is started
93+
// Application must be initialized before display link is started
9494
[self initGL];
9595

9696
CVDisplayLinkRef displayLink;
@@ -148,7 +148,7 @@ - (void)reshape
148148
// cost of framerate and battery life due to the GPU needing to render more
149149
// pixels.
150150

151-
// Any calculations the renderer does which use pixel dimentions, must be
151+
// Any calculations the renderer does which use pixel dimensions, must be
152152
// in "retina" space. [NSView convertRectToBacking] converts point sizes
153153
// to pixel sizes. Thus the renderer gets the size in pixels, not points,
154154
// so that it can set it's viewport and perform and other pixel based

NativeApp/Apple/Source/Classes/OSX/WindowController.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ - (void) goWindow
118118
// this controller (self)
119119
[self setWindow:[self standardWindow]];
120120

121-
// Set the content of the orginal window to the view
121+
// Set the content of the original window to the view
122122
[[self window] setContentView: [self fullscreenWindow].contentView];
123123

124124
// Show the window and make it the key window for input

NativeApp/Apple/Source/Classes/iOS/AppViewBase.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ - (void) startAnimation
8585
// Set it to our _animationFrameInterval
8686
[_displayLink setPreferredFramesPerSecond:_preferredFramesPerSecond];
8787

88-
// Have the display link run on the default runn loop (and the main thread)
88+
// Have the display link run on the default run loop (and the main thread)
8989
[_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
9090

9191
[super startAnimation];

NativeApp/include/AppBase.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class AppBase
110110
/// Called by the framework to request the desired initial window size.
111111

112112
/// This method is called before the platform-specific window is created.
113-
/// An application may override this method to speciy required initial
113+
/// An application may override this method to specify required initial
114114
/// window width and height.
115115
virtual void GetDesiredInitialWindowSize(int& width, int& height)
116116
{

0 commit comments

Comments
 (0)