mirror of
https://github.com/AxioDL/boo.git
synced 2025-06-06 14:43:33 +00:00
VertexFormatInfo constructor tweak
This commit is contained in:
parent
cc0620e8f7
commit
8333536a7c
@ -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()) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user