Skip to content

jopadan/nosys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nosys

Platform independent framework based on:

  • GLFW platform abstraction framework
  • QuesoGLC opengl font library
  • SAIL image load/save library
  • MLR linear algebra math library

screenshot

Usage

#include "NoSYS/glfw.hpp"

col::u16<col::rgb, 5,6,5> bfcolor = { 12, 23, 26 };
col::u8<4, col::rgba>     vccolor = (col::u8<4, col::rgba>)bfcolor;


int main(int argc, char** argv)
{
	sys::init();

	std::cout << sys::view.test_cube;

	while(sys::tick())
	{
		sys::view.clr();
		sys::view.draw_test();

		sys::time.draw_fps();
		sys::view.swap();
	}
	sys::halt();
	exit(EXIT_SUCCESS);
}

Links