<div>Hi all, i'm having a bit of difficulty converting my texture coordinates (as a float from 0 -&gt; 1) to a coordinate (as an integer from 0 - &gt; size of image)&nbsp; My current method simply floors the float, i.e. 0.8983 would be a 0, however this isn't very accurate as it should be a 1.
</div>
<div>&nbsp;</div>
<div>Can anybody help me please?</div>
<div>&nbsp;</div>
<div>Also if there is a better way of doing this rather than rounding, i would appreciate any comments.</div>
<div>&nbsp;</div>
<div>Thank you for your time.</div>