[Tutorial] Artificial Gouped Bool
#6

Quote:
Originally Posted by Dan..
View Post
If you left bit shift a number, you multiply it by a power of 2.
E.g. a << b it's equal to a * 2^b

If you right bit shift a number, you divide it by a power of 2.
E.g. a >> b it's equal to a / 2^b

Read these articles for more:
http://www.gamedev.net/page/resource...ons-in-c-r1563
http://lab.polygonal.de/?p=81
thanks.. will do
Reply


Messages In This Thread
Artificial Gouped Bool - by Yashas - 20.04.2013, 03:33
Re: Artificial Gouped Bool - by K3 - 20.04.2013, 04:41
Re: Artificial Gouped Bool - by Dan.. - 20.04.2013, 05:16
Re: Artificial Gouped Bool - by mastermax7777 - 20.04.2013, 05:29
Re: Artificial Gouped Bool - by Dan.. - 20.04.2013, 05:35
Re: Artificial Gouped Bool - by mastermax7777 - 20.04.2013, 05:45
AW: Artificial Gouped Bool - by BigETI - 20.04.2013, 06:58
Re: Artificial Gouped Bool - by Yashas - 20.04.2013, 11:14

Forum Jump:


Users browsing this thread: 2 Guest(s)