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):
|
2014-08-19 09:32:23 +00:00
|
|
|
opaque(opaque), z(z), location(location), client(client)
|
2014-06-10 13:13:16 +00:00
|
|
|
{
|
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
|
|
|
}
|