diff --git a/README.md b/README.md index 1b7a1b1f8d..906aeca805 100644 --- a/README.md +++ b/README.md @@ -710,7 +710,7 @@ cd emsdk ./emsdk activate sdk-1.38.11-64bit ``` -After this you can invoke [easy build](#easy-build) script as follows: +After this you can invoke the [easy build](#easy-build) script as follows: ``` export EMSDK= diff --git a/web/filament-js/jsbindings.cpp b/web/filament-js/jsbindings.cpp index c008c1a538..16ee9b316b 100644 --- a/web/filament-js/jsbindings.cpp +++ b/web/filament-js/jsbindings.cpp @@ -718,7 +718,7 @@ class_("KtxBundle") /// getInternalFormat ::method:: /// srgb ::argument:: boolean that forces the resulting format to SRGB if possible. /// ::retval:: [Texture$InternalFormat] - /// Returns "undefined" is no valid Filament enumerant exists. + /// Returns "undefined" if no valid Filament enumerant exists. .function("getInternalFormat", EMBIND_LAMBDA(Texture::InternalFormat, (KtxBundle* self, bool srgb), { auto result = KtxUtility::toTextureFormat(self->info().glInternalFormat); @@ -736,7 +736,7 @@ class_("KtxBundle") /// getPixelDataFormat ::method:: /// rgbm ::argument:: boolean that configures the alpha channel into an HDR scale. /// ::retval:: [PixelDataFormat] - /// Returns "undefined" is no valid Filament enumerant exists. + /// Returns "undefined" if no valid Filament enumerant exists. .function("getPixelDataFormat", EMBIND_LAMBDA(driver::PixelDataFormat, (KtxBundle* self, bool rgbm), { switch (self->info().glTypeSize) { @@ -751,7 +751,7 @@ class_("KtxBundle") /// getPixelDataType ::method:: /// ::retval:: [PixelDataType] - /// Returns "undefined" is no valid Filament enumerant exists. + /// Returns "undefined" if no valid Filament enumerant exists. .function("getPixelDataType", EMBIND_LAMBDA(driver::PixelDataType, (KtxBundle* self), { return KtxUtility::toPixelDataType(self->info().glType); @@ -759,7 +759,7 @@ class_("KtxBundle") /// getCompressedPixelDataType ::method:: /// ::retval:: [CompressedPixelDataType] - /// Returns "undefined" is no valid Filament enumerant exists. + /// Returns "undefined" if no valid Filament enumerant exists. .function("getCompressedPixelDataType", EMBIND_LAMBDA(driver::CompressedPixelDataType, (KtxBundle* self), { return KtxUtility::toCompressedPixelDataType(self->info().glInternalFormat);