Initial commit.
This commit is contained in:
commit
56976c16cc
4 changed files with 32 additions and 0 deletions
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
build/*
|
||||
*.swp
|
||||
*.kdev4
|
||||
.kdev4/*
|
||||
target/
|
||||
Cargo.lock
|
11
Cargo.toml
Normal file
11
Cargo.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
name = "proceduralcity"
|
||||
description = "Procedural city generation by manipulation of .obj files - rewritten in Rust."
|
||||
repository = "https://github.tamu.edu/shadow8t4/ProceduralCity"
|
||||
version = "0.1.0"
|
||||
authors = ["Alex Huddleston <adh9694@gmail.com>","Jeremy Martin"]
|
||||
license = "MIT"
|
||||
|
||||
[dependencies]
|
||||
obj = "0.8"
|
||||
noise = "0.4"
|
5
README.md
Normal file
5
README.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Procedural City Generation
|
||||
|
||||
A Rust re-implementation of a C++ engine for procedural city generation by manipulating .obj models and outputing an .obj model of a city.
|
||||
|
||||
Usage (subject to change): [executable] [template].obj output.obj [optional: -d for debugging output]
|
10
src/main.rs
Normal file
10
src/main.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
extern crate obj;
|
||||
extern crate noise;
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
fn main() {
|
||||
let obj = obj::Obj::load("data/test.obj").unwrap();
|
||||
|
||||
println!("Postiion: {}", obj.position);
|
||||
}
|
Reference in a new issue