///////////////////////////////////////////////////////////////////////////////
//  SColor32.cpp

#include "SColor.h"
#include "SColor32.h"

namespace math3d {

SColor32::SColor32() :
	r(0),
	g(0),
	b(0),
	a(0)
{
}

SColor32::SColor32(unsigned char r_, unsigned char g_, unsigned char b_, unsigned char a_) :
	r(r_),
	g(g_),
	b(b_),
	a(a_)
{
}

SColor32::~SColor32()
{
}

SColor SColor32::ToSColor() const
{
	return SColor(r / 255.0f, g / 255.0f, b / 255.0f, a / 255.0f);
}

}

