Update copy/move constructors/operators

Former-commit-id: b1faeeae9211a6c0ca29261d46929dc8c66ea0c4
This commit is contained in:
Lynix
2015-09-24 12:51:52 +02:00
parent dea3fb4e39
commit c214251ecf
24 changed files with 89 additions and 19 deletions

View File

@@ -15,6 +15,8 @@ class NAZARA_CORE_API NzPrimitiveList
{
public:
NzPrimitiveList() = default;
NzPrimitiveList(const NzPrimitiveList&) = default;
NzPrimitiveList(NzPrimitiveList&&) = default;
~NzPrimitiveList() = default;
void AddBox(const NzVector3f& lengths, const NzVector3ui& subdivision = NzVector3ui(0U), const NzMatrix4f& transformMatrix = NzMatrix4f::Identity());
@@ -35,6 +37,9 @@ class NAZARA_CORE_API NzPrimitiveList
const NzPrimitive& GetPrimitive(unsigned int i) const;
unsigned int GetSize() const;
NzPrimitiveList& operator=(const NzPrimitiveList&) = default;
NzPrimitiveList& operator=(NzPrimitiveList&&) = default;
NzPrimitive& operator()(unsigned int i);
const NzPrimitive& operator()(unsigned int i) const;