Last active
July 28, 2018 18:47
-
-
Save xeekworx/fbf39e60c2b20ff575909e131e02690b to your computer and use it in GitHub Desktop.
nvgTriangle
This file contains 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
void nvgTriangle(NVGcontext * ctx, float x1, float y1, float x2, float y2, float x3, float y3) | |
{ | |
nvgMoveTo(ctx, x1, y1); | |
nvgLineTo(ctx, x2, y2); | |
nvgLineTo(ctx, x3, y3); | |
nvgClosePath(ctx); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment