konstantin magnus Posted November 30, 2016 Share Posted November 30, 2016 (edited) What type is primintrinsic "bounds" and how can I access each of its six components? I can access the first three using v@ or four components using p@, but dont know how to reach further. the matrices seem either too small or too big. vector bboxmin = primintrinsic(0, "bounds", @primnum); @min = bboxmin.z; Also, is there a way to grab one component directly like this? float bboxmin = primintrinsic(0, "bounds", @primnum).a; Edited November 30, 2016 by konstantin magnus Quote Link to comment Share on other sites More sharing options...
petz Posted November 30, 2016 Share Posted November 30, 2016 you can get it as an array. for example: float bounds[] = primintrinsic(@OpInput1, "bounds", @primnum); float min_z = bounds[4]; float max_z = bounds[5]; 1 Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted November 30, 2016 Author Share Posted November 30, 2016 mmh. thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.