235 return gl::ArrayClass::ConditionalLines; |
235 return gl::ArrayClass::ConditionalLines; |
236 } |
236 } |
237 return gl::ArrayClass::Lines; |
237 return gl::ArrayClass::Lines; |
238 } |
238 } |
239 |
239 |
240 ldraw::id_t gl::Compiler::idFromColor(const std::array<GLbyte, 3>& data) |
240 ldraw::id_t gl::Compiler::idFromColor(const std::array<GLubyte, 3>& data) |
241 { |
241 { |
242 return {data[0] * std::int32_t{0x10000} + data[1] * std::int32_t{0x100} + data[2]}; |
242 return {data[0] * std::int32_t{0x10000} + data[1] * std::int32_t{0x100} + data[2]}; |
243 } |
243 } |
244 |
244 |
245 void gl::Compiler::buildPolygon( |
245 void gl::Compiler::buildPolygon( |