Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

What type to use for ofMesh::addNormals()

$
0
0

@noine wrote:

I tried to do

vector<ofPoint> normals(size);
mesh.addNormals(normals);

But it doesn’t accept that. Changing ofPoint to ofVec3f doesn’t help either.
As a fix I’m a for loop with mesh.addNormal(), but I would like to how to use previous one.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles