From 39ea0f48069afa5b918b2d9e90b295fb6d449be3 Mon Sep 17 00:00:00 2001 From: mathusummut Date: Sun, 30 Sep 2018 10:38:22 +0200 Subject: [PATCH] Clarified G3D documentation --- source/tools/g3d_support.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/tools/g3d_support.py b/source/tools/g3d_support.py index 5fe17e4a2..0dedaefe9 100644 --- a/source/tools/g3d_support.py +++ b/source/tools/g3d_support.py @@ -80,12 +80,12 @@ ##properties: property flags #Code: #enum MeshPropertyFlag{ -# mpfCustomColor= 1, -# mpfTwoSided= 2, -# mpfNoSelect= 4, -# mpfGlow= 8 +# mpfCustomColor = 1, +# mpfTwoSided = 2, +# mpfNoSelect = 4, +# mpfGlow = 8 #}; -#The last 8 bits of properties are used for teamcolor transparency, where 0 is opaque, and 255 is fully transparent team color. The value is inverted for compatibility with megaglest +#The last 8 bits (little endian) of properties are used for teamcolor transparency, where 0 is opaque, and 255 is fully transparent team color. The value is inverted for compatibility with megaglest #mpfTwoSided: meshes in this mesh are rendered by both sides, if this flag is not present only "counter clockwise" faces are rendered (culling) #mpfCustomColor: alpha in this model is replaced by a custom color, usually the player color #mpfNoSelect: whether the model is selectable