I couldn't find anything in the Cg documentation on how to specify infinity or NaN, but these seem to work:
Infinity: 0x7f800000
-Infinity: 0xff800000
NaN: 0x7fc00000
Subscribe to:
Post Comments (Atom)
Code, computers, and other nonsense. All powered by iguanas, of course.
No comments:
Post a Comment