2014-06-05 15:12:49 +00:00
|
|
|
#include "CanvasFragment.h"
|
|
|
|
|
|
|
|
CanvasFragment::CanvasFragment()
|
|
|
|
{
|
|
|
|
}
|
2014-06-10 13:13:16 +00:00
|
|
|
|
|
|
|
CanvasFragment::CanvasFragment(double z, const Vector3 &location, int client, bool opaque):
|
|
|
|
z(z), location(location), client(client), opaque(opaque)
|
|
|
|
{
|
2014-06-12 15:45:59 +00:00
|
|
|
color = COLOR_WHITE;
|
|
|
|
}
|
|
|
|
|
|
|
|
void CanvasFragment::setColor(const Color &col)
|
|
|
|
{
|
|
|
|
color = col;
|
2014-06-10 13:13:16 +00:00
|
|
|
}
|