MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / Convert

Method Convert

TSAlgebra.h:123–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 typedef typename type_struct::vector2D_type const_vector2D_type;
122
123 static vector2D_type Convert(component_type *data)
124 {
125 return (vector2D_type(data[index_x], data[index_y]));
126 }
127
128 static const_vector2D_type Convert(const component_type *data)
129 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected