- Black Forest, Germany
Pinned Loading
-
-
-
Not so smallpt rust port...
Not so smallpt rust port... 1use std::{f64::consts::*,io::*,ops::*,*};type B<T>=Vec<T>; type T=f64;#[
2derive(Copy,Clone)]struct V(T,T,T);impl Add for V{ type Output=V;fn add(
3self,o:V)->V{V(self.0+o.0, self.1+o.1, self.2+o.2)}} impl Sub for V{type
4Output=V; fn sub(self,o:V) ->V{V(self.0-o.0,self.1-o.1,self.2-o.2)}}impl
5Mul<T>for V{type Output=V;fn mul(self,o:T)->V{V(self.0*o,self.1*o,self.2
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.