Skip to content

Commit

Permalink
added missing include and missing semicolon to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
amock authored and nmwsharp committed Oct 2, 2024
1 parent 0615cd7 commit 63c0962
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ C++:

``` C++
#include "polyscope/polyscope.h"
#include "polyscope/point_cloud.h"
#include "polyscope/surface_mesh.h"

// Initialize polyscope
polyscope::init();

// Register a point cloud
// `points` is a Nx3 array-like container of points
polyscope::registerPointCloud("my points", points)
polyscope::registerPointCloud("my points", points);

// Register a surface mesh structure
// `meshVerts` is a Vx3 array-like container of vertex positions
Expand Down

0 comments on commit 63c0962

Please sign in to comment.