Sign in to follow this  
zhangguyou

glBitmap puzzles

Recommended Posts

I has question , a piece of codes as follows: private byte rasters[] = new byte[] { (byte) 0xc0, (byte) 0x00, (byte) 0xc0, (byte) 0x00, (byte) 0xc0, (byte) 0x00, (byte) 0xc0, (byte) 0x00, (byte) 0xc0, (byte) 0x00, (byte) 0xff, (byte) 0x00, (byte) 0xff, (byte) 0x00, (byte) 0xc0, (byte) 0x00, (byte) 0xc0, (byte) 0x00, (byte) 0xc0, (byte) 0x00, (byte) 0xff, (byte) 0xc0, (byte) 0xff, (byte) 0xc0 }; glBitmap(10, 12, 0.0f, 0.0f, 12.0f, 0.0f, rasters, ); i want to know why rasters is 'f' ? how rasters has counted? thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this