Add Light trait and PointLight instance

This commit is contained in:
bijan2005 2021-01-23 22:52:50 -05:00
parent 53f5c8bac5
commit ed6e84a240
10 changed files with 123 additions and 48 deletions

View file

@ -1,5 +1,5 @@
extern crate nalgebra as na;
use na::*;
use na::geometry::{Point2, Point3};