Home
last modified time | relevance | path

Searched refs:col_type (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/math/include/math/
Dmat4.h98 typedef TVec4<T> col_type; typedef
101 static constexpr size_t COL_SIZE = col_type::SIZE; // size of a column (i.e.: number of rows)
121 col_type m_value[NUM_COLS];
125 inline constexpr col_type const& operator[](size_t column) const {
133 inline col_type& operator[](size_t column) {
150 : m_value{ col_type(col_type::NO_INIT), in TMat44()
151 col_type(col_type::NO_INIT), in TMat44()
152 col_type(col_type::NO_INIT), in TMat44()
153 col_type(col_type::NO_INIT) } {} in TMat44()
319 m_value[0] = col_type(1, 0, 0, 0); in TMat44()
[all …]
Dmat3.h92 typedef TVec3<T> col_type; typedef
95 static constexpr size_t COL_SIZE = col_type::SIZE; // size of a column (i.e.: number of rows)
115 col_type m_value[NUM_COLS];
119 inline constexpr col_type const& operator[](size_t column) const {
127 inline col_type& operator[](size_t column) {
146 : m_value{ col_type(col_type::NO_INIT), in TMat33()
147 col_type(col_type::NO_INIT), in TMat33()
148 col_type(col_type::NO_INIT) } {} in TMat33()
273 m_value[0] = col_type(1, 0, 0); in TMat33()
274 m_value[1] = col_type(0, 1, 0); in TMat33()
[all …]
Dmat2.h85 typedef TVec2<T> col_type; typedef
88 static constexpr size_t COL_SIZE = col_type::SIZE; // size of a column (i.e.: number of rows)
108 col_type m_value[NUM_COLS];
112 inline constexpr col_type const& operator[](size_t column) const {
120 inline col_type& operator[](size_t column) {
139 : m_value{ col_type(col_type::NO_INIT), in TMat22()
140 col_type(col_type::NO_INIT) } {} in TMat22()
251 m_value[0] = col_type(1, 0); in TMat22()
252 m_value[1] = col_type(0, 1); in TMat22()
258 m_value[0] = col_type(v, 0); in TMat22()
[all …]
DTMatHelpers.h289 CONSTEXPR typename MATRIX::col_type PURE diag(const MATRIX& m) { in diag()
291 typename MATRIX::col_type result(MATRIX::col_type::NO_INIT); in diag()