mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
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.
This commit is contained in:
@@ -157,11 +157,9 @@ public:
|
||||
}
|
||||
|
||||
//! Check this vector with another vector for equality (without tolerance!).
|
||||
bool operator== (const NCollection_Vec3& theOther) { return IsEqual (theOther); }
|
||||
bool operator== (const NCollection_Vec3& theOther) const { return IsEqual (theOther); }
|
||||
|
||||
//! Check this vector with another vector for non-equality (without tolerance!).
|
||||
bool operator!= (const NCollection_Vec3& theOther) { return !IsEqual (theOther); }
|
||||
bool operator!= (const NCollection_Vec3& theOther) const { return !IsEqual (theOther); }
|
||||
|
||||
//! Raw access to the data (for OpenGL exchange).
|
||||
|
Reference in New Issue
Block a user