]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_alias.h
added COMMANDLINEOPTION comments for every commandline option, these will be listed...
[xonotic/darkplaces.git] / model_alias.h
index f8c81f7908aecf4e1326faed00684f35df0f7283..4e6faa02d573cb1ea29a8b7421da413beeed1ffe 100644 (file)
@@ -277,6 +277,13 @@ typedef struct aliasmesh_s
        int num_morphframes;
        float *data_morphvertex3f;
 
+       // base frame (frame zero typically)
+       // since most models do not animate, caching the base frame helps
+       float *data_basevertex3f;
+       float *data_basesvector3f;
+       float *data_basetvector3f;
+       float *data_basenormal3f;
+
        // skeletal blending, these are zero if model is morph
        int num_vertexboneweights;
        aliasvertexboneweight_t *data_vertexboneweights;
@@ -298,5 +305,8 @@ typedef struct aliasbone_s
 }
 aliasbone_t;
 
+struct frameblend_s;
+void Mod_Alias_GetMesh_Vertex3f(const struct model_s *model, const struct frameblend_s *frameblend, const struct aliasmesh_s *mesh, float *out3f);
+
 #endif