View Single Post
Old 31st August 2008, 21:14   #28  |  Link
evdberg
Registered User
 
Join Date: Dec 2006
Posts: 202
Quote:
X = ((I >> 0x13) & 0x7C) >> 2
Y = ((I >> 0x0E) & 0x7C) >> 2
Z = ((I >> 0x09) & 0x7C) >> 2
Why not simply:
X = (I >> 21) & 31
Y = (I >> 16) & 31
Z = (I >> 11) & 31

Just returned from holiday and very pleased to see all your work! I assume you all got it from the patent description?
__________________
Developer DVD2one - http://www.dvd2one.com/
evdberg is offline   Reply With Quote