文件名称:cgltf:用C99编写的单文件glTF 2.0加载器和编写器
文件大小:43KB
文件格式:ZIP
更新时间:2024-02-20 04:04:56
c c99 gltf glb 3d
:diamond_with_a_dot: cgltf 单文件/ STB风格的C glTF加载器和编写器 用于: , , , 等! 用法:加载中 从文件加载: # define CGLTF_IMPLEMENTATION # include " cgltf.h " cgltf_options options = { 0 }; cgltf_data* data = NULL ; cgltf_result result = cgltf_parse_file(&options, " scene.gltf " , &data); if (result == cgltf_result_success) { /* TODO make awesome stuff */ cgltf_free (data); } 从内存加载: # define CGLTF_IMPLEMENTATION # include " cgltf.h " void * buf; /* Pointer to glb or gltf file data */ size_t size; /* Size of the f
【文件预览】:
cgltf-master
----cgltf.h(165KB)
----cgltf_write.h(39KB)
----.travis.yml(126B)
----LICENSE(1KB)
----test()
--------test_conversion.cpp(3KB)
--------CMakeLists.txt(2KB)
--------test_all.py(2KB)
--------test_math.cpp(2KB)
--------test_write.cpp(936B)
--------main.c(703B)
----fuzz()
--------gltf.dict(3KB)
--------data()
--------main.c(471B)
----README.md(5KB)