Jump to content

Infection in vex, strange attributes behaviour


Recommended Posts

I try smth like infection by solver sop using point clouds with simple addition work perfectly, but when if statement is time dependent and it is false vex reseting attribute. Why? Or it is a bag?

int closedPt[] = pcfind(@OpInput1,"P",@P,10,5);


foreach(int pt;closedPt)
{
int nearInf = point(@OpInput2,"inf",pt);

if(nearInf > 0 && @risk > 0.3)
{
@inf += 1;
}


}

tempCrystal3_toOdforce.hip

Edited by legomir
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...