mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-11 14:41:59 +00:00
VertexFormatInfo constructor tweak
This commit is contained in:
@@ -130,7 +130,7 @@ struct VertexFormatInfo {
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
VertexFormatInfo(const T& tp) : elementCount(std::extent_v<T>), elements(tp) {}
|
VertexFormatInfo(const T& tp) : elementCount(std::extent_v<T>), elements(tp) {}
|
||||||
|
|
||||||
VertexFormatInfo(const std::initializer_list<VertexElementDescriptor>& l)
|
VertexFormatInfo(std::initializer_list<VertexElementDescriptor> l)
|
||||||
: elementCount(l.size()), elements(l.begin()) {}
|
: elementCount(l.size()), elements(l.begin()) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user