paysages3d/src/render/software/CanvasFragment.cpp

17 lines
319 B
C++
Raw Normal View History

#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
}