22 template <AlgebraicTrait>
26 struct MatrixTraits<
Tx>
28 static double Get(
const double m[6])
33 static void Set(
double m[6],
double value)
38 static void Apply(
double m[6],
double value)
40 m[4] = value * m[0] + m[4];
45 struct MatrixTraits<
Ty>
47 static double Get(
const double m[6])
52 static void Set(
double m[6],
double value)
57 static void Apply(
double m[6],
double value)
59 m[5] = value * m[3] + m[5];
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition basetypes.h:16
AlgebraicTrait
Definition MathBase.h:13
constexpr AlgebraicTrait Ty
X Translation trait.
Definition MathBase.h:20
constexpr AlgebraicTrait Tx
X Translation trait.
Definition MathBase.h:19