C# 클래스 Procedurality.Utils

파일 보기 프로젝트 열기: N3X15/VoxelSim

공개 메소드들

메소드 설명
intToBlue ( int color ) : float
intToGreen ( int color ) : float
intToRed ( int color ) : float
isPowerOf2 ( int num ) : bool
nextPowerOf2 ( int n ) : int
powerOf2Log2 ( int n ) : int

메소드 상세

intToBlue() 공개 정적인 메소드

public static intToBlue ( int color ) : float
color int
리턴 float

intToGreen() 공개 정적인 메소드

public static intToGreen ( int color ) : float
color int
리턴 float

intToRed() 공개 정적인 메소드

public static intToRed ( int color ) : float
color int
리턴 float

isPowerOf2() 공개 정적인 메소드

public static isPowerOf2 ( int num ) : bool
num int
리턴 bool

nextPowerOf2() 공개 정적인 메소드

public static nextPowerOf2 ( int n ) : int
n int
리턴 int

powerOf2Log2() 공개 정적인 메소드

public static powerOf2Log2 ( int n ) : int
n int
리턴 int