Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ProjectKML/fast-obj-rs

Rust bindings for the blazing fast obj parser fast_obj written in C
https://github.com/ProjectKML/fast-obj-rs

Last synced: 12 days ago
JSON representation

Rust bindings for the blazing fast obj parser fast_obj written in C

Awesome Lists containing this project

README

        

# fast-obj-rs
Rust bindings for the blazing obj parser fast_obj written in C

Example:
```Rust
use fast_obj_rs::Mesh;

fn main() {
let mesh = Mesh::new("dragon.obj").unwrap();

mesh.positions().iter().for_each(|position| {
println!("Position: {}", position);
});

mesh.texcoords().iter().for_each(|tex_coord| {
println!("Tex Coord: {}", tex_coord);
});

mesh.normals().iter().for_each(|normal| {
println!("Normal: {}", normal);
});
}
```