Added initializers
This commit is contained in:
parent
aee1423e55
commit
5f920b21ca
@ -47,7 +47,8 @@ Surface::Surface()
|
||||
translucency_(0),
|
||||
glossiness_(0.4f),
|
||||
sidedness_(FRONT_ONLY),
|
||||
max_smoothing_angle_(0)
|
||||
max_smoothing_angle_(0),
|
||||
color_map_intensity_(1.0f)
|
||||
{
|
||||
}
|
||||
|
||||
@ -61,7 +62,8 @@ Surface::Surface(const lwo2::FORM::SURF *surf, const Clip_map &clips)
|
||||
translucency_(0),
|
||||
glossiness_(0.4f),
|
||||
sidedness_(FRONT_ONLY),
|
||||
max_smoothing_angle_(0)
|
||||
max_smoothing_angle_(0),
|
||||
color_map_intensity_(1.0f)
|
||||
{
|
||||
compile(surf, clips);
|
||||
}
|
||||
|
@ -28,6 +28,12 @@ namespace lwosg
|
||||
public:
|
||||
bool tessellate(const Polygon &poly, const osg::Vec3Array *points, osg::DrawElementsUInt *out, const std::vector<int> *remap = 0);
|
||||
|
||||
Tessellator():
|
||||
prim_type_(0),
|
||||
last_error_(0)
|
||||
{
|
||||
}
|
||||
|
||||
~Tessellator();
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user