| 2092 | return (reinterpret_cast<matrix4D_type>(data[0])); |
| 2093 | } |
| 2094 | |
| 2095 | static const_matrix4D_type Convert(const component_type *data) |
| 2096 | { |
| 2097 | return (reinterpret_cast<const_matrix4D_type>(data[0])); |
| 2098 | } |
| 2099 | }; |
| 2100 | |
| 2101 | |
| 2102 | 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> |
| 2103 | class Submat4D |
| 2104 | { |
| 2105 | public: |
| 2106 | |
| 2107 | typedef typename type_struct::component_type component_type; |
| 2108 | typedef typename type_struct::matrix4D_type matrix4D_type; |
| 2109 | |
| 2110 | component_type data[count]; |
| 2111 | |
| 2112 | 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) |
| 2113 | { |
| 2114 | data[index_00] = m00; |
| 2115 | data[index_10] = m10; |
nothing calls this directly
no outgoing calls
no test coverage detected