1 Star 0 Fork 0

郝帆 / kndRobotSim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
loadModel.h 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
zhangjiankun 提交于 2014-01-11 18:11 . first add project to github
#ifndef LOADMODEL_H
#define LOADMODEL_H
//#include <assimp/scene.h>
// ----------------------------------------------------------------------------
void color4_to_float4(const aiColor4D *c, float f[4]);
// ----------------------------------------------------------------------------
void set_float4(float f[4], float a, float b, float c, float d);
void apply_material(const aiMaterial *mtl);
void get_bounding_box_for_node (const aiNode* nd,
aiVector3D* min,
aiVector3D* max,
aiMatrix4x4* trafo
);
// ----------------------------------------------------------------------------
void get_bounding_box (aiVector3D* min, aiVector3D* max);
int loadasset (const char* path);
void printMatri4x4(double *m, char *tip);
void printMatri4x4(aiMatrix4x4 &m,char *tip);
void set_aiMatrix4x4(aiMatrix4x4 &mat, float m[]);
void set_aiMatrix4x4(aiMatrix4x4 &mat, double m[]);
void aiMatrix4x4_to_float(const aiMatrix4x4 &mat, float m[]);
void recursive_render (const struct aiScene *sc, const struct aiNode* nd);
extern const struct aiScene* scene ;
extern GLuint scene_list ;
extern aiVector3D scene_min, scene_max, scene_center;
#endif // LOADMODEL_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/lyndonhao/kndRobotSim.git
git@gitee.com:lyndonhao/kndRobotSim.git
lyndonhao
kndRobotSim
kndRobotSim
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891