LiangliangNan / Easy3D

A lightweight, easy-to-use, and efficient C++ library for processing and rendering 3D data
GNU General Public License v3.0
1.37k stars 245 forks source link

How to draw a curve? #163

Closed Roy2xc closed 1 year ago

Roy2xc commented 1 year ago

I just copy the code of the example, but have trouble...

here is the screen shot:

2 (2)

I have included the header curve.h in my viewer.h. and i'm using namespace of easy3d.

LiangliangNan commented 1 year ago

put "points" before "steps"

LiangliangNan commented 1 year ago

You should really read the document carefully ;-)

Roy2xc commented 1 year ago

Sorry I'm too harum...