///////////////////////////////////////////////////////////////////////////////
/// @file BezierBrush.cpp
///
/// @brief Bezier brush creation
///
/// @author Assassin
///
/// This file is the intellectual property of Novus Delta, LLC.. Usage of the
/// contents of this file is subject to the Destiny3D Member License which
/// can be found at http://www.destiny3d.com.  Any other usage is prohibited.
///
/// This file is distributed "AS IS" without warranty of any kind.  Novus
/// Delta, LLC. does not guarantee the fitness of the contents of this file
/// for any particular purpose.
///
/// Copyright (C) 2001-2003 Novus Delta, LLC. All Rights Reserved.
///
/// <hr>
///                                 Change History
/// <hr>
///
/// @date Jul 2002
/// @author Assassin
/// @remarks Creation
///
///////////////////////////////////////////////////////////////////////////////

#include "deBrush_priv.hpp"

WorldObjectClassImp(deBezierBrush);

static const deBrush::DataQuantity_t s_BezierQuantities = 
{
	deBrush::DataQuantity_t::Quantity_Unmanaged, 
	0,	//CVNum
	0,	//NumFaces
	0	//CoordsPerFace
};

deBezierBrush::deBezierBrush()
:deBrush(Brush_Bezier, s_BezierQuantities)
{
}

deBezierBrush::~deBezierBrush()
{
}

void deBezierBrush::UpdateBrush()
{
	MakePatches();
}

void deBezierBrush::MakePatches()
{
}

deBrush * deBezierBrush::CopyBrush()
{
	deBezierBrush * b = NULL;
	b = new deBezierBrush;
//	*b = *this;
	return b;
}

deBoolean deBezierBrush::Serialize(IdeFile* FS)
{
	if (!deBrush::Serialize(FS))
		return deFALSE;
	return deTRUE;
}

deBoolean deBezierBrush::DeSerialize(IdeFile* FS, long DataLength)
{
	if (!deBrush::DeSerialize(FS, DataLength))
		return deFALSE;
	return deTRUE;
}

