| 2011 | |
| 2012 | template <typename type_struct, int count, int index_00, int index_01, int index_02, int index_03, int index_10, int index_11, int index_12, int index_13, int index_20, int index_21, int index_22, int index_23, int index_30, int index_31, int index_32, int index_33> |
| 2013 | class Submat4D |
| 2014 | { |
| 2015 | public: |
| 2016 | |
| 2017 | typedef typename type_struct::component_type component_type; |
| 2018 | typedef typename type_struct::matrix4D_type matrix4D_type; |
| 2019 | |
| 2020 | component_type data[count]; |
| 2021 | |
| 2022 | Submat4D& Set(const component_type& m00, const component_type& m01, const component_type& m02, const component_type& m03, const component_type& m10, const component_type& m11, const component_type& m12, const component_type& m13, const component_type& m20, const component_type& m21, const component_type& m22, const component_type& m23, const component_type& m30, const component_type& m31, const component_type& m32, const component_type& m33) |
| 2023 | { |
| 2024 | data[index_00] = m00; |
| 2025 | data[index_10] = m10; |
| 2026 | data[index_20] = m20; |
| 2027 | data[index_30] = m30; |
| 2028 | data[index_01] = m01; |
| 2029 | data[index_11] = m11; |
| 2030 | data[index_21] = m21; |
| 2031 | data[index_31] = m31; |
| 2032 | data[index_02] = m02; |
| 2033 | data[index_12] = m12; |
| 2034 | data[index_22] = m22; |
| 2035 | data[index_32] = m32; |
| 2036 | data[index_03] = m03; |
| 2037 | data[index_13] = m13; |
| 2038 | data[index_23] = m23; |
| 2039 | data[index_33] = m33; |
| 2040 | return (*this); |
| 2041 | } |
| 2042 | |
| 2043 | void Set(const component_type& m00, const component_type& m01, const component_type& m02, const component_type& m03, const component_type& m10, const component_type& m11, const component_type& m12, const component_type& m13, const component_type& m20, const component_type& m21, const component_type& m22, const component_type& m23, const component_type& m30, const component_type& m31, const component_type& m32, const component_type& m33) volatile |
| 2044 | { |
| 2045 | data[index_00] = m00; |
| 2046 | data[index_10] = m10; |
| 2047 | data[index_20] = m20; |
| 2048 | data[index_30] = m30; |
| 2049 | data[index_01] = m01; |
| 2050 | data[index_11] = m11; |
| 2051 | data[index_21] = m21; |
| 2052 | data[index_31] = m31; |
| 2053 | data[index_02] = m02; |
| 2054 | data[index_12] = m12; |
| 2055 | data[index_22] = m22; |
| 2056 | data[index_32] = m32; |
| 2057 | data[index_03] = m03; |
| 2058 | data[index_13] = m13; |
| 2059 | data[index_23] = m23; |
| 2060 | data[index_33] = m33; |
| 2061 | } |
| 2062 | |
| 2063 | operator typename ConverterMatrix4D<type_struct, index_00, index_01, index_02, index_03, index_10, index_11, index_12, index_13, index_20, index_21, index_22, index_23, index_30, index_31, index_32, index_33>::matrix4D_type(void) |
| 2064 | { |
| 2065 | return (ConverterMatrix4D<type_struct, index_00, index_01, index_02, index_03, index_10, index_11, index_12, index_13, index_20, index_21, index_22, index_23, index_30, index_31, index_32, index_33>::Convert(data)); |
| 2066 | } |
| 2067 | |
| 2068 | operator typename ConverterMatrix4D<type_struct, index_00, index_01, index_02, index_03, index_10, index_11, index_12, index_13, index_20, index_21, index_22, index_23, index_30, index_31, index_32, index_33>::const_matrix4D_type(void) const |
| 2069 | { |
| 2070 | return (ConverterMatrix4D<type_struct, index_00, index_01, index_02, index_03, index_10, index_11, index_12, index_13, index_20, index_21, index_22, index_23, index_30, index_31, index_32, index_33>::Convert(data)); |
nothing calls this directly
no outgoing calls
no test coverage detected