This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::rc::Rc; | |
struct Vertex { | |
x: f64, | |
y: f64, | |
z: f64, | |
} | |
struct Face { | |
a: Rc<Vertex>, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Vertex { | |
x: f64, | |
y: f64, | |
z: f64, | |
} | |
struct Face { | |
a: &Vertex, | |
b: &Vertex, | |
c: &Vertex, |
NewerOlder