`xyzdist` in C++

   628   2   0
User Avatar
Member
2 posts
Joined: 8月 2016
Offline
Is there a way to call some similar function to VEX `xyzdist` from C++? The closest thing I found is `HOM_Geometry::nearestPrim`. If I understand it correctly this is C++ version of Python module. Is there a similar function working with `GU_Detail`?
User Avatar
スタッフ
329 posts
Joined: 7月 2005
Offline
See: GU_RayIntersect::minimumPoint()

https://www.sidefx.com/docs/hdk/class_g_u___ray_intersect.html [www.sidefx.com]
User Avatar
Member
2 posts
Joined: 8月 2016
Offline
Great! Thanks a lot
  • Quick Links