Skip to content

Instantly share code, notes, and snippets.

use std::io::File;
use std::io::BufferedReader;
use std::rc::Rc;
use std::cell::RefCell;
use std::cell::Cell;
struct Vertex {
x: f64,
y: f64,
z: f64,
use std::rc::Rc;
struct Vertex {
x: f64,
y: f64,
z: f64,
}
struct Face {
a: Rc<Vertex>,
struct Vertex {
x: f64,
y: f64,
z: f64,
}
struct Face {
a: &Vertex,
b: &Vertex,
c: &Vertex,