C# 클래스 GameMath.MathI

파일 보기 프로젝트 열기: npruehs/game-math

공개 메소드들

메소드 설명
GetBit ( int i, int k ) : int

Gets the k-th bit of the passed int value.

메소드 상세

GetBit() 공개 정적인 메소드

Gets the k-th bit of the passed int value.
public static GetBit ( int i, int k ) : int
i int /// Value to get the k-th bit of. ///
k int /// Bit to get. ///
리턴 int