Fork me on GitHub

Forum

GLGE WebGL Library/Framework » Discussion » General, GLGE Help/Support
Is it possible to change the contents of a mesh?
You are not logged in.
Posting as Guest.
11080 Registered users.
No new posts.
New posts since last visit.
Replies: 1 - Pages: [1] - Last reply: 2012-04-18 10:26:37 - By: martinglish Post reply
Author Message

martinglish
(Member)

Posts: 6
Registered:
2012-04-16 12:27:32

Does anyone know if resetting the contents of a Mesh using setPositions(…), setNormals(…) etc to a new set of data should work. For me it only worked if the number of vertices didn’t change. If the number of vertices changed I needed to create a new Mesh object.

Not a major issue but I am curious if I’m missing a trick here.

Thanks…

Back to top
[1]

Post a reply

Keep it polite and on topic.
You can use BBCode

Post reply
Name:You are posting as guest. Log in
Subject:
Message:
Please enter the code on the left.

WordPress forum plugin by Fredrik Fahlstad. Version: 1.7.8.