sneaky Posted June 13, 2023 Share Posted June 13, 2023 Hello I noticed this wierd behavior on the point wrangle : float fraction = 1/2; f@fraction = fraction; The geometry spreadshit will give 0 as a result of any division. Did I miss something ? I am in houdini 19.5.605 Quote Link to comment Share on other sites More sharing options...
sneaky Posted June 13, 2023 Author Share Posted June 13, 2023 Edit : it will give 0 for anything below 1 Quote Link to comment Share on other sites More sharing options...
Atom Posted June 13, 2023 Share Posted June 13, 2023 By not supplying a mantissa, you are defining integers, not floats. Try... float fraction = 1.0/2.0; f@fraction = fraction; 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.