mirror of
https://github.com/lisk77/comet.git
synced 2025-12-15 18:18:50 +00:00
feat: added to_vec to the Color trait to allow the colors to be lerped and produce gradients
This commit is contained in:
parent
531609e95b
commit
f891de2909
13 changed files with 63 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
use std::ops::{Add, Sub, Mul, Div};
|
||||
use crate::{cross, dot, Point3};
|
||||
use std::ops::*;
|
||||
use crate::vector::{Vec2, Vec3, Vec4};
|
||||
|
||||
trait LinearTransformation {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue