-
Notifications
You must be signed in to change notification settings - Fork 3
/
apiMeshGeom.cpp
41 lines (35 loc) · 1.08 KB
/
apiMeshGeom.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//-
// ==========================================================================
// Copyright 2015 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk
// license agreement provided at the time of installation or download,
// or which otherwise accompanies this software in either electronic
// or hard copy form.
// ==========================================================================
//+
///////////////////////////////////////////////////////////////////////////////
//
// apiMeshGeom.cpp
//
///////////////////////////////////////////////////////////////////////////////
#include "apiMeshGeom.h"
apiMeshGeom::apiMeshGeom() : faceCount( 0 )
{}
apiMeshGeom::~apiMeshGeom() {}
/* override */
apiMeshGeom& apiMeshGeom::operator=( const apiMeshGeom& other )
//
// Copy the geometry
//
{
if ( &other != this ) {
vertices = other.vertices;
face_counts = other.face_counts;
face_connects = other.face_connects;
normals = other.normals;
uvcoords = other.uvcoords;
faceCount = other.faceCount;
}
return *this;
}