]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/picomodel/pm_mdc.c
Merge commit '461d008daa6328113ea4ccda37e5604d3df14ba3' into garux-merge
[xonotic/netradiant.git] / libs / picomodel / pm_mdc.c
index aac525b8bb5c83f29c6329d9f098503a4425ca91..5139da0245b7eb9db165f9f723c6f4ec44119f6a 100644 (file)
 
    ----------------------------------------------------------------------------- */
 
-
-
-/* marker */
-#define PM_MDC_C
-
-
-
 /* dependencies */
 #include "picointernal.h"
 
 /* mdc model format */
-#define MDC_MAGIC           "IDPC"
-#define MDC_VERSION         2
+const char *MDC_MAGIC = "IDPC";
+const int MDC_VERSION = 2;
 
 /* mdc vertex scale */
-#define MDC_SCALE           ( 1.0f / 64.0f )
-#define MDC_MAX_OFS         127.0f
-#define MDC_DIST_SCALE      0.05f
+const float MDC_SCALE           = ( 1.0f / 64.0f );
+const float MDC_MAX_OFS         = 127.0f;
+const float MDC_DIST_SCALE      = 0.05f;
 
 /* mdc decoding normal table */
 const double mdcNormals[ 256 ][ 3 ] =