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
// i was bored on a plane ride and didn't know what to do so i tried my best to make a 3d renderer | |
// (i had no knowledge of how 3d renders worked, just tried to use my linear algebra skills to derive it out) | |
use std::{thread, time}; | |
fn paraboloid(x: f32, y: f32) -> f32{ | |
(x*x) + (y*y) | |
} | |
fn parabola(t: f32) -> Vec<f32> { |