2014-06-05 15:12:49 +00:00
|
|
|
#include "CanvasFragment.h"
|
|
|
|
|
2015-10-15 22:51:46 +00:00
|
|
|
CanvasFragment::CanvasFragment(bool front_facing, const Vector3 &pixel, const Vector3 &location, int client, bool opaque):
|
|
|
|
opaque(opaque), front_facing(front_facing), pixel(pixel), 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
|
|
|
}
|