mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
support thickness on thread lines
This commit is contained in:
parent
652af6525a
commit
999e641840
@ -311,7 +311,8 @@ render_thread(CullTraverser *trav, CullTraverserData &data,
|
||||
|
||||
colors.push_back(Colorf(1.0f, 1.0f, 1.0f, 1.0f));
|
||||
|
||||
PT(Geom) geom = new GeomLinestrip;
|
||||
PT(GeomLinestrip) geom = new GeomLinestrip;
|
||||
geom->set_width(get_thickness());
|
||||
geom->set_num_prims(num_segments);
|
||||
geom->set_coords(verts);
|
||||
if (uv_mode != UV_none) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user