Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kbinani/colladafile
https://github.com/kbinani/colladafile
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kbinani/colladafile
- Owner: kbinani
- Created: 2014-11-25T14:43:10.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-26T15:06:15.000Z (almost 10 years ago)
- Last Synced: 2023-03-22T14:19:24.764Z (over 1 year ago)
- Language: C++
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ColladaFile [![Build Status](https://travis-ci.org/kbinani/ColladaFile.svg?branch=master)](https://travis-ci.org/kbinani/ColladaFile)
Lightweight COLLADA file (*.dae) generator library written in C++.
# Requirements
Modern C++ compiler.
# Example
```
#include "colladafile.hpp"int main()
{
using namespace ColladaFile;Scene scene;
auto triangle = std::make_shared();
triangle->vertices() = {
{0, 0, 1},
{1, 0, 1},
{0, 1, 1},
};
triangle->faces() = {
{0, 1, 2},
};
scene.add(triangle, "triangle");scene.write("triangle.dae");
return 0;
}
```# License
MIT License