MCPcopy Create free account
hub / github.com/AsPJT/DungeonTemplateLibrary / drawNormal

Method drawNormal

include/DTL/Console/OutputString.hpp:147–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 //Normal
146 template<typename Matrix_>
147 bool drawNormal(const Matrix_ & matrix_, const Index_Size end_x_, const Index_Size end_y_) const noexcept {
148 for (Index_Size row{ this->start_y }; row < end_y_; ++row) {
149 for (Index_Size col{ this->start_x }; col < end_x_; ++col) {
150 if (this->outputSTL(matrix_, col, row) >= this->string_vector.DTL_TYPE_VSIZE()) continue;
151 DTL_TYPE_COUT << this->string_vector[this->outputSTL(matrix_, col, row)];
152 }
153 DTL_TYPE_COUT << '\n';
154 }
155 DTL_TYPE_COUT_END
156 return true;
157 }
158
159 //LayerNormal
160 template<typename Matrix_>

Callers 1

drawMethod · 0.95

Calls 1

outputSTLMethod · 0.45

Tested by

no test coverage detected