02-01-2023
08:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-01-2023
08:59 AM
@earl_cody, thanks for this code!! i copied/paste into the VBA editor, made a couple changes (my preferences, nothing wrong with code), and it works great!! i am now trying to adapt it to Ilogic, but get an error "Array is a type and cannot not be used in an expression".... on the crossProduct line...
Dim cp As Object cp = CrossProduct( v1:=Array(uvPlaneOneNormal.X, uvPlaneOneNormal.Y, uvPlaneOneNormal.Z),v2:=Array(uvPlaneTwoNormal.X, uvPlaneTwoNormal.Y, uvPlaneTwoNormal.Z))
any suggestions on how to fix this? is adapting this code to Ilogic doable (i think so)?
really appreciate your help on this