paysages3d/src/render/software/CanvasFragment.cpp

13 lines
348 B
C++
Raw Normal View History

#include "CanvasFragment.h"
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
}