Commit Graph

  • 6a5d95ae64 Sphere main Jon Janzen 2023-12-01 18:08:32 -07:00
  • e7f926ac1e Added position Jon Janzen 2022-03-21 15:25:56 -06:00
  • cd297fd4a9 enforce point and vector for origin and direction Jon Janzen 2022-03-11 18:35:11 -07:00
  • 910570bf37 Can create ray Jon Janzen 2022-03-11 18:23:26 -07:00
  • f2056615be added ray.rs Jon Janzen 2022-03-11 18:15:39 -07:00
  • 05c17b0179 no vscode Jon Janzen 2022-01-07 08:50:57 -07:00
  • 6e5af62c02 fixed warnings Jon Janzen 2022-01-05 08:45:30 -07:00
  • be9abb56d9 removed extra .0s Jon Janzen 2022-01-02 17:16:42 -07:00
  • b40d7c5b7b tranformation works with any number type Jon Janzen 2022-01-01 18:11:39 -07:00
  • ae9316bc8e color can use any number type Jon Janzen 2022-01-01 17:58:48 -07:00
  • e22fa3db61 matrix can handle any type for input Jon Janzen 2022-01-01 17:54:03 -07:00
  • 8a0f44144d Tuple point and vector take any time Jon Janzen 2022-01-01 16:51:36 -07:00
  • 71fc73bf1a tuple::new can take any type of number Jon Janzen 2022-01-01 16:30:51 -07:00
  • b2ec53525d added draw cross Jon Janzen 2021-10-03 16:19:44 -06:00
  • 0b3132ee4f cleaned up a bit Jon Janzen 2021-10-03 15:56:39 -06:00
  • 1e57661ace Can make a clock face Jon Janzen 2021-10-02 19:22:27 -06:00
  • ed3773a299 refactored main to make room for clock Jon Janzen 2021-09-11 20:16:07 -06:00
  • 1a414bc485 approx with numbers near 0 needs higher max relative Jon Janzen 2021-09-11 19:59:59 -06:00
  • 0dfa9248cb shearing Jon Janzen 2021-09-03 20:36:37 -06:00
  • 2c1b5354fa rotation complete Jon Janzen 2021-09-03 20:17:18 -06:00
  • 5fb429b9d0 rotation around x axis Jon Janzen 2021-09-03 20:09:28 -06:00
  • e523852cd4 added scaling Jon Janzen 2021-09-03 19:42:49 -06:00
  • 48b5d0a400 Added multiplying a tuple by a matrix Jon Janzen 2021-09-03 19:21:09 -06:00
  • be2d23914d transformation function Jon Janzen 2021-09-03 19:13:26 -06:00
  • 909aa52dd6 added transformations Jon Janzen 2021-06-13 09:58:44 -06:00
  • 6fd0e7608d Removed out.ppm Jon Janzen 2021-06-13 09:54:26 -06:00
  • 29bccd78fe completed rename. merged crates to features Jon Janzen 2021-06-13 09:53:38 -06:00
  • 90d3148335 Added some clarifying text to the output Jon Janzen 2021-06-12 15:54:16 -06:00
  • 267bc15e2e played iwht matrix Jon Janzen 2021-04-02 19:02:57 -06:00
  • a4ffb3b7d6 Inverse tests, and Mul is references Jon Janzen 2021-04-02 18:49:39 -06:00
  • e148f8ccef Added assert_matrix_eq to allow high max_relative for tests Jon Janzen 2021-04-02 17:23:44 -06:00
  • ccb4184fb3 inverse works but rel equal doesn't Jon Janzen 2021-04-02 17:15:04 -06:00
  • 49b1744604 went back to vec Jon Janzen 2021-04-02 16:33:31 -06:00
  • 75f882f860 determinants can not function Jon Janzen 2021-04-02 15:58:25 -06:00
  • 02c557c4a3 slightly better minor Jon Janzen 2021-04-02 15:00:00 -06:00
  • d8fe799890 added cofactor Jon Janzen 2021-04-02 14:58:55 -06:00
  • 517cb40de8 minor without calling submatrix Jon Janzen 2021-04-02 14:52:52 -06:00
  • 6dcfb6863b Added minor Jon Janzen 2021-04-02 14:37:34 -06:00
  • c9d2559cba fixed sub_matrix Width Jon Janzen 2021-04-02 14:09:53 -06:00
  • bc4f061bcd added submatrixes Jon Janzen 2021-04-02 13:56:19 -06:00
  • 704503a9a1 handled clippy Jon Janzen 2021-03-31 15:52:21 -06:00
  • 9c20d13833 allow rectangular matrixes Jon Janzen 2021-03-31 15:38:00 -06:00
  • 82360600fe Fixed transpose by moving to an iterative method Jon Janzen 2021-03-31 15:30:08 -06:00
  • 588acf36a3 added determinant Jon Janzen 2021-03-31 15:19:48 -06:00
  • c78c1ed8f6 switched from vec to array with const generic size Jon Janzen 2021-03-31 15:19:04 -06:00
  • 8a3538c789 Added Cargo.lock Jon Janzen 2021-03-30 19:05:34 -06:00
  • 6c685aef15 transposition Jon Janzen 2021-03-29 19:38:00 -06:00
  • f106344504 identity matrix Jon Janzen 2021-03-29 19:18:21 -06:00
  • 5ca76b424a multiple matrix by tuple Jon Janzen 2021-03-28 19:16:14 -06:00
  • 6fd1eb49b7 wrote test for matix multiplication Jon Janzen 2021-03-28 18:29:18 -06:00
  • c47d3448a3 can create from arrays Jon Janzen 2021-03-28 18:19:56 -06:00
  • f24280c866 matrix with equality Jon Janzen 2021-03-28 18:00:15 -06:00
  • 2a602f5804 wrote first bit of matrix Jon Janzen 2021-03-26 20:01:41 -06:00
  • 7bb7fa8ab4 added matrix init Jon Janzen 2021-03-26 16:32:00 -06:00
  • 6dafed1195 multi-ball Jon Janzen 2021-03-21 19:49:24 -06:00
  • 750435847e start from 0 works Jon Janzen 2021-03-21 19:27:16 -06:00
  • 1f33d87193 can make a ppm Jon Janzen 2021-03-20 20:12:47 -06:00
  • 842c93568b assert new line at end of ppm Jon Janzen 2021-03-05 17:32:47 -07:00
  • aa4e01d3f7 added canvas sizes Jon Janzen 2021-03-05 17:14:06 -07:00
  • 1fc84c7d1f Can create canvas Jon Janzen 2021-02-19 19:58:52 -07:00
  • 5232e69ec1 Added color Jon Janzen 2021-02-13 17:09:47 -07:00
  • 06d08942f0 Played with values Jon Janzen 2021-02-07 14:59:00 -07:00
  • bf1afc092e Created a Projectile and allowed it to be operated on by wind and gravity Jon Janzen 2021-02-07 14:49:14 -07:00
  • c863cf5a8b Made methods pub so I could use them Jon Janzen 2021-02-07 14:48:45 -07:00
  • 4b0515f4b1 Created tuples and with structs. Jon Janzen 2021-02-06 16:56:03 -07:00
  • 334e2ef3ea create structs lib, mimics tuple lib, but implements Tuple. Jon Janzen 2021-01-23 20:13:34 -07:00
  • ea51c5785d multiplicaiton, division, and negation Jon Janzen 2021-01-23 19:15:26 -07:00
  • 275d857e7a tuple addition and subtraction Jon Janzen 2021-01-23 18:46:21 -07:00
  • 2e481efd7a changed point/vector to not take tuples in Jon Janzen 2021-01-23 18:30:01 -07:00
  • f827fd19eb tuple equality Jon Janzen 2021-01-23 18:24:49 -07:00
  • 285c75bbda moved to relative float equivalence Jon Janzen 2021-01-23 18:17:28 -07:00
  • 864ad4d40b first tuple test Jon Janzen 2021-01-23 17:59:10 -07:00
  • 3c58271683 init Jon Janzen 2021-01-23 17:24:59 -07:00