Line 141... |
Line 141... |
141 |
static HMesh::VertexAttributeVector<CGLA::Vec3f> vertex_colors;
|
141 |
static HMesh::VertexAttributeVector<CGLA::Vec3f> vertex_colors;
|
142 |
static HMesh::FaceAttributeVector<CGLA::Vec3f> face_colors;
|
142 |
static HMesh::FaceAttributeVector<CGLA::Vec3f> face_colors;
|
143 |
static HMesh::HalfEdgeAttributeVector<CGLA::Vec3f> edge_colors;
|
143 |
static HMesh::HalfEdgeAttributeVector<CGLA::Vec3f> edge_colors;
|
144 |
public:
|
144 |
public:
|
145 |
DebugRenderer(): SimpleShaderRenderer(vss, fss) {}
|
145 |
DebugRenderer(): SimpleShaderRenderer(vss, fss) {}
|
146 |
void compile_display_list(const HMesh::Manifold& m, bool smooth);
|
146 |
void compile_display_list(const HMesh::Manifold& m, bool smooth, float rad);
|
147 |
|
147 |
|
148 |
};
|
148 |
};
|
149 |
|
149 |
|
150 |
/** Render reflection lines. This class renders the object as if it is specular and inside
|
150 |
/** Render reflection lines. This class renders the object as if it is specular and inside
|
151 |
an infinitely long, vertical cylinder with white strips (also vertical). Useful if you
|
151 |
an infinitely long, vertical cylinder with white strips (also vertical). Useful if you
|