Exemple #1
0
Cell& Cell::operator=(Cell const & other) {
	if (&other != this)
	{
		copyFromOther(other);
	}
	return *this;
}
//===========================================================
CSegRemanenceShape &CSegRemanenceShape::operator = (const CSegRemanenceShape &other)
{
	if (&other != this)
	{
		copyFromOther(other);
		(IShape &) *this = (IShape &) other; // copy base part
	}
	return *this;
}
Exemple #3
0
// copy assignment
OctreeSceneStats& OctreeSceneStats::operator=(const OctreeSceneStats& other) {
    copyFromOther(other);
    return *this;
}
Exemple #4
0
// copy constructor
OctreeSceneStats::OctreeSceneStats(const OctreeSceneStats& other) :
_jurisdictionRoot(NULL) {
    copyFromOther(other);
}
//===========================================================
CSegRemanenceShape::CSegRemanenceShape(const CSegRemanenceShape &other) : IShape(other), _AnimatedMat(NULL)
{
	copyFromOther(other);
}
Exemple #6
0
Cell::Cell(Cell const & other) {
	copyFromOther(other);
}