Commit Graph

222 Commits

Author SHA1 Message Date
h4570 4b2deb8b39 matrix refactor 2020-12-23 22:10:12 +01:00
h4570 e0ad58f72f fixed bug with matrix multiply 2020-12-23 20:28:41 +01:00
h4570 f95e805d33 added data alignment 2020-12-23 20:28:28 +01:00
h4570 b935d4da13 fixed newline warning 2020-12-23 20:24:08 +01:00
Sandro Sobczyński f6cbac7c20 Merge pull request #69 from Foxar/develop
BoundingBox refactor using new class.
2020-12-21 20:36:34 +01:00
Foxar 3af3576203 Added: Multiple doxygen @returns comments. 2020-12-21 20:35:09 +01:00
Foxar ae3dd737e5 Changed: Multiple const additions. 2020-12-21 20:28:26 +01:00
Foxar 23ea1a28f6 Changed: Comments, boundingbox getters in mesh.hpp 2020-12-21 20:22:40 +01:00
Foxar 115dac21bc Changed: Return types in mesh_frame and mesh_materials for getBoundingBoxVertex() to const. 2020-12-21 20:15:18 +01:00
Foxar f8f91c6b49 Changed: Return type of getVertex() to be const. 2020-12-21 20:09:00 +01:00
Foxar 8137bd56d8 Changed: Usage of getVertices()[y] to getVertex(y) 2020-12-21 20:07:34 +01:00
Foxar cf07cf78c8 Added: Comment for BoundingBox constructor parameters. 2020-12-21 20:06:55 +01:00
Foxar 13f6a2ecb7 Changed: Changed manual deep-copy of parameter vertex array to usage of memcpy() 2020-12-21 20:02:51 +01:00
Foxar 9e1a9e8b3c Changed: Renamed getBoundingBox() to getBoundingBoxVertices() as the function returns the array of vertices from the BoundingBox object. 2020-12-21 19:41:29 +01:00
Foxar 5c232aebce Removed: Newline below a doxygen comment. 2020-12-21 19:32:40 +01:00
Foxar 586fe136ea Changed: Removed old vertex array boundingbox declaration, forced usage of temporary vector array in initial boundingbox calculations. 2020-12-21 19:05:33 +01:00
Foxar 02d7916925 Fixed: Fixed incorrect naming of boundingbox constructor parameters. 2020-12-21 19:04:34 +01:00
Foxar 1cc1e62ed6 Fixed: Fixed incorrect vertex array for-loop iteration. 2020-12-21 19:03:40 +01:00
Foxar 1765885bec Removed: Commented-out ('disabled') method declarations. 2020-12-21 18:57:01 +01:00
Foxar d835f83e51 Added: New BoundingBox infrastructure into mesh_material, analogous to mesh_frame. 2020-12-21 18:48:11 +01:00
Foxar 974138d64e Changed: Replaced old getBoundingBox and getBoundingBoxVertex functions with new ones, using the new bounding_box class infrastructure. 2020-12-21 18:31:23 +01:00
Foxar ae15906c99 Added: Accessors in bounding_box class allowing access to vertices array. 2020-12-21 18:30:18 +01:00
Foxar 71ce30a8fc Added: Destructor for boundingbox class. 2020-12-20 14:13:47 +01:00
Foxar 55d8e445db Fixed: Typo in bounding box getters. 2020-12-20 14:12:52 +01:00
Foxar 11a4e2ee76 Changed: Updated makefile to include new boundingboxes. 2020-12-20 14:11:50 +01:00
Foxar 596bf2d89a Added: Mesh_frame getter for BoundingBox object pointer. 2020-12-20 13:44:48 +01:00
Foxar 53c134b0d5 Added: Integrated new BoundingBox class implentation with mesh_frame boundingbox calculations. 2020-12-20 13:38:26 +01:00
Foxar 9b2d39505b Added: BoundingBoxFaces assignments, calculations and doxygen comments. 2020-12-20 13:24:50 +01:00
Foxar 44776f7aba Added: Incomplete implenetation of BoundingBox class and BoundingBoxFace struct. 2020-12-20 13:13:03 +01:00
Foxar d4f2a1e1a2 Restored: Undid the objloader changes, they should be in its own branch. 2020-12-17 14:19:23 +01:00
Foxar 12ef639516 Changed: Allowed obj_loader to load different .obj face element configurations.
New authorised .obj face elements configurations: v, v/t, v/vt/vn, v//vn
2020-12-17 13:33:22 +01:00
Michał Mostowik 552f2c6e4a Merge pull request #4 from h4570/develop
Develop
2020-12-16 15:24:03 +01:00
h4570 ea6d5215d1 fixed funcs declaration 2020-12-13 00:39:32 +01:00
h4570 4a1bca12aa small undo in rendering pipeline 2020-12-13 00:23:04 +01:00
h4570 0156d4444f Merge branch 'develop' of https://github.com/ps2-tyra/tyra into develop 2020-12-13 00:20:19 +01:00
Sandro Sobczyński 623576a387 Merge pull request #63 from h4570/revert-61-hotfix/matrix
Revert "Urgent hotfix in matrix multiply, added few funcs"
2020-12-13 00:19:42 +01:00
Sandro Sobczyński 3f4d2c5521 Revert "Urgent hotfix in matrix multiply, added few funcs" 2020-12-13 00:19:18 +01:00
h4570 206ccdf415 Merge branch 'develop' of https://github.com/ps2-tyra/tyra into develop 2020-12-12 23:57:21 +01:00
Sandro Sobczyński 7025f5371b Merge pull request #62 from h4570/feature/math
Math: Add max/min and tangens
2020-12-12 23:21:16 +01:00
Sandro Sobczyński 2455ce82dd Merge pull request #61 from h4570/hotfix/matrix
Urgent hotfix in matrix multiply, added few funcs
2020-12-12 23:20:30 +01:00
h4570 2ce2e76663 Merge branch 'hotfix/matrix' into develop 2020-12-12 23:19:33 +01:00
h4570 f4e699025a added useful funcs 2020-12-12 23:19:12 +01:00
h4570 b050e4643b multiply hotfix! added scale, angle rotation 2020-12-12 23:18:31 +01:00
Sandro Sobczyński e38f569bc4 Merge pull request #60 from h4570/feature/pipeline
Small refactoring of viewproj matrix calcs
2020-12-12 14:13:29 +01:00
h4570 3dd51607f0 refactored viewproj matrix calcs a bit 2020-12-12 14:12:30 +01:00
Sandro Sobczyński b7618c014a Merge pull request #59 from h4570/feature/math-matrix
Added some matrix/math funcs
2020-12-12 14:11:54 +01:00
h4570 8256efa7c8 switched zbuffer to 24bit mode 2020-12-12 14:10:50 +01:00
h4570 ac36012545 added some matrix/math funcs 2020-12-12 14:07:23 +01:00
Sandro Sobczyński 968718a549 Merge pull request #58 from Foxar/master
Missing commits and files from last PR
2020-12-10 18:01:19 +01:00
Michał Mostowik 24bab8464a Merge pull request #3 from Foxar/develop
Foxar develop->Foxar master-> PR #58 h4570/tyra
2020-12-10 17:59:09 +01:00