mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 15:25:34 +08:00
refs #345 Third and final wave of value classes using the CValueObjectStdTuple CRTP class template, with policy classes.
This commit is contained in:
@@ -22,14 +22,14 @@ namespace BlackMisc
|
||||
{
|
||||
|
||||
//! 3x3 matrix
|
||||
class CMatrix3x3 : public CMatrixBase<CMatrix3x3, 3, 3>
|
||||
class CMatrix3x3 : public CValueObjectStdTuple<CMatrix3x3, CMatrixBase<CMatrix3x3, 3, 3>>
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
CMatrix3x3() = default;
|
||||
|
||||
//! Init by fill value
|
||||
explicit CMatrix3x3(double fillValue) : CMatrixBase(fillValue) {}
|
||||
explicit CMatrix3x3(double fillValue) : CValueObjectStdTuple(fillValue) {}
|
||||
|
||||
//! Stupid, but handy constructor by single row column values
|
||||
explicit CMatrix3x3(double r1c1, double r1c2, double r1c3,
|
||||
|
||||
Reference in New Issue
Block a user