]> OCCT Git - occt-copy.git/commit
0032289: Visualization - add NCollection_Mat3 for 3x3 matrix similar to NCollection_Mat4 CR0-750-Hybrid-AR3412
authorkgv <kgv@opencascade.com>
Fri, 9 Apr 2021 09:16:55 +0000 (12:16 +0300)
committermsv <msv@opencascade.com>
Fri, 6 Aug 2021 14:46:42 +0000 (17:46 +0300)
commit099337c83a875c6bd673db11e02678baff0a7465
tree3e1b64fe3bda4dd7ec2b8cfedbc0a25a7420e033
parent0a32c776c3d25bcbbb3a908d6daaba21582e0614
0032289: Visualization - add NCollection_Mat3 for 3x3 matrix similar to NCollection_Mat4

Introduced NCollection_Mat3 class similar to NCollection_Mat4.
Added NCollection_Mat4::operator() alias to NCollection_Mat4::Value().
Added NCollection_Mat4::Negated(), ::Subtracted(), ::Added(), ::Divided() operations.
Added a note to NCollection_Mat4::GetData() that matrix values are stored in column-major order.
Removed duplicated operator== operators from NCollection_Mat4/NCollection_Vec4/NCollection_Vec3/NCollection_Vec2 classes.

Removed obsolete and no more used matrix state fields from OpenGl_Workspace.
Removed obsoiete structure OpenGl_Matrix (replaced by OpenGl_Mat4).
OpenGl_ShaderProgram - duplicated methods have been replaced by templates.
22 files changed:
src/BVH/BVH.cxx
src/NCollection/FILES
src/NCollection/NCollection_Mat3.hxx [new file with mode: 0644]
src/NCollection/NCollection_Mat4.hxx
src/NCollection/NCollection_Vec2.hxx
src/NCollection/NCollection_Vec3.hxx
src/NCollection/NCollection_Vec4.hxx
src/OpenGl/FILES
src/OpenGl/OpenGl_CappingAlgo.cxx
src/OpenGl/OpenGl_CappingPlaneResource.cxx
src/OpenGl/OpenGl_CappingPlaneResource.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Matrix.hxx [deleted file]
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_ShaderProgram.cxx
src/OpenGl/OpenGl_ShaderProgram.hxx
src/OpenGl/OpenGl_Structure.hxx
src/OpenGl/OpenGl_View.hxx
src/OpenGl/OpenGl_View_Redraw.cxx
src/OpenGl/OpenGl_Workspace.cxx
src/OpenGl/OpenGl_Workspace.hxx
src/Standard/Standard_Dump.hxx