Skip to content
Snippets Groups Projects
Commit 0c2558ff authored by fxk8y's avatar fxk8y :spider:
Browse files

Adding warning label

parent 22f8a6bb
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,15 @@ module roundRect(w, h, r, center=false, centerX=false, centerY=false) {
*
* TODO: Moar documentation!
*
*
* ⚠ WARNING: Right angled edges extend $E/2 too much in either direction, ⚠
* ⚠ so a normal rect drawn with this module ⚠
* ⚠ would be [w+$E, h+$E] in size ⚠
* ⚠ with origin [-$E/2, -$E/2] for the non-centered version! ⚠
*
* TODO: Fix this major incident!!
*
*
* verts = array[4] describing round edges
* every 0 will become right angled
* every > 0 will become rounded, number = radius
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment