From dee2332b9a7c67701eb710349c5ae7fb77709621 Mon Sep 17 00:00:00 2001 From: bloeys Date: Fri, 19 Nov 2021 21:10:11 +0400 Subject: [PATCH] Correct comments --- .gitignore | 3 ++- asig/asig.go | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e260a12..bc55736 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ # Dependency directories (remove the comment below to include it) vendor/ *.obj -*.fbx \ No newline at end of file +*.fbx +*.glb \ No newline at end of file diff --git a/asig/asig.go b/asig/asig.go index 70802fe..1e2ca93 100755 --- a/asig/asig.go +++ b/asig/asig.go @@ -53,7 +53,7 @@ type EmbeddedTexture struct { /** A hint from the loader to make it easier for applications * 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 * 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: @@ -72,8 +72,8 @@ type EmbeddedTexture struct { FormatHint string /** 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). - * The format of the texture data is always RGBA8888. + * 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 ARGB8888. */ Data []byte