mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +01:00
primitive_assembly: Mark constructor explicit
Prevents any implicit constructions from occurring, given the constructor isn't a converting constructor.
This commit is contained in:
parent
59bb84b86c
commit
2cefd16850
@ -20,7 +20,7 @@ struct PrimitiveAssembler {
|
|||||||
using TriangleHandler =
|
using TriangleHandler =
|
||||||
std::function<void(const VertexType& v0, const VertexType& v1, const VertexType& v2)>;
|
std::function<void(const VertexType& v0, const VertexType& v1, const VertexType& v2)>;
|
||||||
|
|
||||||
PrimitiveAssembler(
|
explicit PrimitiveAssembler(
|
||||||
PipelineRegs::TriangleTopology topology = PipelineRegs::TriangleTopology::List);
|
PipelineRegs::TriangleTopology topology = PipelineRegs::TriangleTopology::List);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user