summaryrefslogtreecommitdiffstats
path: root/NativeApp/Android
diff options
context:
space:
mode:
authorAssiduous <61806567+TheMostDiligent@users.noreply.github.com>2021-03-18 05:06:50 +0000
committerGitHub <noreply@github.com>2021-03-18 05:06:50 +0000
commit1de4b5caf9a2f779b2a160c210b425e1c63bb1a9 (patch)
treefcac53b85a8f10b5a6a698cdc7c3ccd21f700625 /NativeApp/Android
parentUpdated readme (diff)
parentFix misc. typos (diff)
downloadDiligentTools-1de4b5caf9a2f779b2a160c210b425e1c63bb1a9.tar.gz
DiligentTools-1de4b5caf9a2f779b2a160c210b425e1c63bb1a9.zip
Merge pull request #21 from luzpaz/typos
Fix misc. typos
Diffstat (limited to 'NativeApp/Android')
-rw-r--r--NativeApp/Android/arcore_sdk/include/arcore_c_api.h8
-rw-r--r--NativeApp/Android/ndk_helper/include/JNIHelper.h2
-rw-r--r--NativeApp/Android/ndk_helper/src/tapCamera.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/NativeApp/Android/arcore_sdk/include/arcore_c_api.h b/NativeApp/Android/arcore_sdk/include/arcore_c_api.h
index ec9266a..2d210f9 100644
--- a/NativeApp/Android/arcore_sdk/include/arcore_c_api.h
+++ b/NativeApp/Android/arcore_sdk/include/arcore_c_api.h
@@ -1093,7 +1093,7 @@ void ArCoreApk_checkAvailability(void *env,
void *context,
ArAvailability *out_availability);
-/// Initiates installation of ARCore if needed. When your apllication launches
+/// Initiates installation of ARCore if needed. When your application launches
/// or enters an AR mode, it should call this method with @c
/// user_requested_install = 1.
///
@@ -1996,7 +1996,7 @@ void ArPose_getPoseRaw(const ArSession *session,
/// @param[in] session The ARCore session
/// @param[in] pose The pose to convert
/// @param[out] out_matrix_col_major_4x4 Pointer to an array of 16 floats, to be
-/// filled with a column-major homogenous transformation matrix, as used by
+/// filled with a column-major homogeneous transformation matrix, as used by
/// OpenGL.
void ArPose_getMatrix(const ArSession *session,
const ArPose *pose,
@@ -2076,7 +2076,7 @@ void ArCamera_getDisplayOrientedPose(const ArSession *session,
/// @param[in] session The ARCore session
/// @param[in] camera The session's camera.
/// @param[inout] out_col_major_4x4 Pointer to an array of 16 floats, to be
-/// filled with a column-major homogenous transformation matrix, as used by
+/// filled with a column-major homogeneous transformation matrix, as used by
/// OpenGL.
void ArCamera_getViewMatrix(const ArSession *session,
const ArCamera *camera,
@@ -2122,7 +2122,7 @@ void ArCamera_getTrackingFailureReason(
/// @param[in] near Specifies the near clip plane, in meters
/// @param[in] far Specifies the far clip plane, in meters
/// @param[inout] dest_col_major_4x4 Pointer to an array of 16 floats, to
-/// be filled with a column-major homogenous transformation matrix, as used
+/// be filled with a column-major homogeneous transformation matrix, as used
/// by OpenGL.
void ArCamera_getProjectionMatrix(const ArSession *session,
const ArCamera *camera,
diff --git a/NativeApp/Android/ndk_helper/include/JNIHelper.h b/NativeApp/Android/ndk_helper/include/JNIHelper.h
index 81d5c2f..55e572d 100644
--- a/NativeApp/Android/ndk_helper/include/JNIHelper.h
+++ b/NativeApp/Android/ndk_helper/include/JNIHelper.h
@@ -225,7 +225,7 @@ class JNIHelper {
/*
* Retrieve external file directory through JNI call
*
- * return: std::string containing external file diretory
+ * return: std::string containing external file directory
*/
std::string GetExternalFilesDir();
diff --git a/NativeApp/Android/ndk_helper/src/tapCamera.cpp b/NativeApp/Android/ndk_helper/src/tapCamera.cpp
index e753ab1..586bef9 100644
--- a/NativeApp/Android/ndk_helper/src/tapCamera.cpp
+++ b/NativeApp/Android/ndk_helper/src/tapCamera.cpp
@@ -212,7 +212,7 @@ void TapCamera::Drag(const Vec2& v) {
}
//----------------------------------------------------------
-// Pinch controll
+// Pinch control
//----------------------------------------------------------
void TapCamera::BeginPinch(const Vec2& v1, const Vec2& v2) {
if (dragging_) EndDrag();
@@ -289,7 +289,7 @@ void TapCamera::Pinch(const Vec2& v1, const Vec2& v2) {
}
//----------------------------------------------------------
-// Trackball controll
+// Trackball control
//----------------------------------------------------------
void TapCamera::BallUpdate() {
if (dragging_) {