This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Simple 2D NURBS renderer for OpenCV, reading DXF files | |
| * | |
| * The MIT License (MIT) | |
| * | |
| * Copyright (c) 2013 Roy Shilkrot | |
| * | |
| * Updated: Nov 2016 | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <fstream> | |
| // Windows specific: Uncomment the following line to open a console window for debug output | |
| #if _DEBUG | |
| #pragma comment(linker, "/subsystem:\"console\" /entry:\"WinMainCRTStartup\"") | |
| #endif | |
| // Simple OpenGL GLM/SDL demo | |
| // Renders a rotating pyramid, showing 3 of 4 sides (allowing back faces to be seen) |
NewerOlder