Skip to content

Commit

Permalink
Delete old test code from main()
Browse files Browse the repository at this point in the history
  • Loading branch information
djeedai committed Dec 6, 2020
1 parent 0d10587 commit 8f2d0c9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions bin/weldr/src/weldr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,16 +276,6 @@ fn main() -> Result<(), Error> {
app.exit(1);
}

let buf = gltf::Buffer::new(32).uri("buf1.glb");
let asset = gltf::Asset::new("2.0").generator("weldr");
let mut gltf = gltf::Gltf::new(asset);
gltf.buffers.push(buf);
let json = serde_json::to_string_pretty(&gltf);
trace!("json={:#?}", json.unwrap());

//trace!("args: pattern={}, path={}", args.pattern, args.path.to_str().unwrap());
let cmds = weldr::parse_raw(&b"1 16 0 0 0 1 0 0 0 1 0 sub.ldr"[..])?;
trace!("cmds #{}", cmds.len());
Ok(())
}

Expand Down

0 comments on commit 8f2d0c9

Please sign in to comment.