21 Commits

Author SHA1 Message Date
Jon Janzen
6a5d95ae64 Sphere 2023-12-01 18:08:32 -07:00
Jon Janzen
e7f926ac1e Added position 2022-03-21 15:25:56 -06:00
Jon Janzen
cd297fd4a9 enforce point and vector for origin and direction 2022-03-11 18:35:11 -07:00
Jon Janzen
910570bf37 Can create ray 2022-03-11 18:23:26 -07:00
Jon Janzen
f2056615be added ray.rs 2022-03-11 18:15:39 -07:00
Jon Janzen
6e5af62c02 fixed warnings 2022-01-05 08:45:30 -07:00
Jon Janzen
b40d7c5b7b tranformation works with any number type 2022-01-01 18:11:39 -07:00
Jon Janzen
ae9316bc8e color can use any number type 2022-01-01 17:58:48 -07:00
Jon Janzen
e22fa3db61 matrix can handle any type for input 2022-01-01 17:54:03 -07:00
Jon Janzen
8a0f44144d Tuple point and vector take any time 2022-01-01 16:51:36 -07:00
Jon Janzen
71fc73bf1a tuple::new can take any type of number 2022-01-01 16:30:51 -07:00
Jon Janzen
1e57661ace Can make a clock face 2021-10-02 19:22:27 -06:00
Jon Janzen
1a414bc485 approx with numbers near 0 needs higher max relative 2021-09-11 19:59:59 -06:00
Jon Janzen
0dfa9248cb shearing 2021-09-03 20:36:37 -06:00
Jon Janzen
2c1b5354fa rotation complete 2021-09-03 20:17:18 -06:00
Jon Janzen
5fb429b9d0 rotation around x axis 2021-09-03 20:09:28 -06:00
Jon Janzen
e523852cd4 added scaling 2021-09-03 19:42:49 -06:00
Jon Janzen
48b5d0a400 Added multiplying a tuple by a matrix 2021-09-03 19:21:09 -06:00
Jon Janzen
be2d23914d transformation function 2021-09-03 19:13:26 -06:00
Jon Janzen
909aa52dd6 added transformations 2021-06-13 09:58:44 -06:00
Jon Janzen
29bccd78fe completed rename. merged crates to features 2021-06-13 09:53:38 -06:00