Skip to content

esmelusina/SFW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copy the sfwdraw.h and SFW.lib into your project directory. Add sfwdraw.h as an include and set your project to link to sfw.lib, done!

The source and example project in this repo are setup to use debug x86 configuration only.

Right now, everything is setup using Visual Studio 2015. The .libs shouldn't work in other versions.
A vs2015 glfw3 binary can be found in the source folder if you'd like to use it for some other project.


In the solution explorer (visual studio),
	Right-Click Project
		-> Add
		-> Existing Item
		Select sfwdraw.h

	Right-click project
		-> Configuration Properties
		-> Linker
		-> Input
		-> Additional Dependencies
		-> Edit
		type in SFW.lib;

	
Look at the example project for usage.


This is a very simple framework to provide the simplest possible drawing context in C++.
It uses a fixed, pixel-perfect orthogonal view based on the size of the window created.
Immediate mode procedures are in place to draw white lines and circles- nothing else.


About

Trashiest openGL implementation ever

Resources

Stars

Watchers

Forks

Packages

No packages published