Correct comments

This commit is contained in:
bloeys
2021-11-19 21:10:11 +04:00
parent 4462a3be04
commit dee2332b9a
2 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View File

@ -14,4 +14,5 @@
# Dependency directories (remove the comment below to include it) # Dependency directories (remove the comment below to include it)
vendor/ vendor/
*.obj *.obj
*.fbx *.fbx
*.glb

View File

@ -53,7 +53,7 @@ type EmbeddedTexture struct {
/** A hint from the loader to make it easier for applications /** A hint from the loader to make it easier for applications
* to determine the type of embedded textures. * to determine the type of embedded textures.
* *
* If mHeight != 0 this member is show how data is packed. Hint will consist of * If Height != 0 this member is show how data is packed. Hint will consist of
* two parts: channel order and channel bitness (count of the bits for every * two parts: channel order and channel bitness (count of the bits for every
* color channel). For simple parsing by the viewer it's better to not omit * color channel). For simple parsing by the viewer it's better to not omit
* absent color channel and just use 0 for bitness. For example: * absent color channel and just use 0 for bitness. For example:
@ -72,8 +72,8 @@ type EmbeddedTexture struct {
FormatHint string FormatHint string
/** Data of the texture. /** Data of the texture.
* Points to an array of mWidth * mHeight aiTexel's (or just len=Width if Height=0, which happens when data is compressed). * Points to an array of Width * Height (or just len=Width if Height=0, which happens when data is compressed, like if the data is a PNG).
* The format of the texture data is always RGBA8888. * The format of the texture data is always ARGB8888.
*/ */
Data []byte Data []byte