Add outside point to array ?

   973   1   2
User Avatar
Member
766 posts
Joined: April 2014
Offline
How do you add a point to an array of primitives which isn't native to the primitive but sits between two points of the primitive ?
【T】【C】【S】
User Avatar
Member
670 posts
Joined: Sept. 2013
Offline
Plug your prims to the first and the point to the second input:
float pt_value = point(1, "some_random_attribute", 0);
push(f[]@prim_array, pt_value);

Attachments:
prim_array.hiplc (72.1 KB)

https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
  • Quick Links