Commit Graph

  • b799e5f819 Update a comment. Godzil 2020-02-17 13:57:07 +00:00
  • cabe7ff147 Change Ray to use the generic Tuple instead of Point/Vector (but you still should use Point/Vector for initialisation) Godzil 2020-02-17 13:54:07 +00:00
  • 17aebe6538 Move the cross product to Tuple instead of just vector (to ease some stuff later, but this is invalid on Points) Godzil 2020-02-17 13:53:30 +00:00
  • a1087a9871 Add default size to matrix (4 as it is the most common) Godzil 2020-02-17 13:52:28 +00:00
  • c4418683c6 Add the hit function to get the closest non negative hit, and add some mecanisme to test that properly and report when no valid hit occur. Godzil 2020-02-17 12:24:15 +00:00
  • 1900d1f45d Change the Intersection to a class, and stop using memory allocation for it (and pointer) Godzil 2020-02-17 11:48:29 +00:00
  • 513cd9d7eb Update glfw, googletest and lodepng submodules to their latest version Godzil 2020-02-17 11:19:53 +00:00
  • 01a0de09ab Add 3 new type of object: Sphere, Object and Intersect. Godzil 2020-02-17 11:16:20 +00:00
  • 8faf1db3be More Ray work. Godzil 2020-02-15 23:45:19 +00:00
  • 79af9fbc97 Also rename the test file. Godzil 2020-02-15 23:20:37 +00:00
  • 1e2588441f Rename tuple file to remove the plural. Godzil 2020-02-15 23:18:04 +00:00
  • 1f4b14c896 Add a function to convert degree to radian. Godzil 2020-02-14 23:29:09 +00:00
  • dee4b9ae91 Now we can transform! Chapter04 Godzil 2020-02-14 23:28:56 +00:00
  • 514bd649c1 Correct how google test is used. Godzil 2020-02-14 22:19:39 +00:00
  • 0621ca86e1 Change width to size, as it is more correct. Chapter03 Godzil 2020-02-14 19:19:36 +00:00
  • 9f2a41e6f3 Change default precision to float instead of double (need to investigate there) Godzil 2020-02-14 19:18:43 +00:00
  • 95c7616646 Moving some functions around to keep the header a bit more tidy Godzil 2020-02-14 17:52:47 +00:00
  • c4c216647d First batch of matrix related functions Godzil 2020-02-14 17:49:51 +00:00
  • fac2212661 Canvas implementation and add build of LodePNG Chapter02 Godzil 2020-02-14 16:04:28 +00:00
  • a9321b5051 Update an header Godzil 2020-02-14 15:08:50 +00:00
  • f3678992c5 Add Colour implementation Godzil 2020-02-14 15:08:40 +00:00
  • 332e73a3d9 Add support for tuples/point/vector and corresponding tests. Chapter01 Godzil 2020-02-14 14:22:13 +00:00
  • 7b07106816 Add some nice math helping functions Godzil 2020-02-14 14:21:57 +00:00
  • 8144e38aa0 Add an empty main (for now) Godzil 2020-02-14 14:21:40 +00:00
  • 0caa4b8e34 Add all cmakelist files Godzil 2020-02-14 14:21:30 +00:00
  • e2643d677d Update .gitignore Godzil 2020-02-14 14:17:59 +00:00
  • d7a2f487cb Working on the project skeleton, and add external dependencies that may come handy Godzil 2020-02-11 14:16:30 +00:00
  • cbcc797539 first commit Godzil 2020-02-07 11:52:16 +00:00