forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			6 lines
		
	
	
		
			117 B
		
	
	
	
		
			C++
		
	
	
	
	
	
		
		
			
		
	
	
			6 lines
		
	
	
		
			117 B
		
	
	
	
		
			C++
		
	
	
	
	
	
|  | #include "LibInclude.h"
 | ||
|  | 
 | ||
|  | int RGB::getLuma() { return (r+g+b)/3; } | ||
|  | 
 | ||
|  | int RGB::toInt() { return (r<<16) | (g<<8) | b; } |