- A = [xA, yA] is a point on the 2D plane. Same for B, C, ...
- lengths are in any unit (ex: pixels)
- code snippets are in JavaScript
angleRad = angleDeg * Math.PI / 180;
| <repeat group="{{ @articles }}" value="{{ @article }}"> | |
| <h1>{{ @article->title }}</h1> | |
| </repeat> |
| <?php | |
| /** | |
| * This snippet is part of an answer to a StackOverflow question | |
| * and is executable as soon as line 11 gets corrected | |
| * to include Fat-Free Framework's `base.php` file. | |
| * | |
| * @see http://stackoverflow.com/questions/41840876/using-computed-properties-on-fatfree-mapper-object-not-retrieved-from-database | |
| */ |
| <?php | |
| /** | |
| * The following example combines Fat-Free Framework | |
| * with the PHP Debugger (Toolbar) Tracy. | |
| * | |
| * @see https://github.com/bcosca/fatfree/issues/999 | |
| */ | |
| use Tracy\Debugger; |
| [globals] | |
| foo=bar | |
| baz={{@foo}} | |
| ENV_VALUE={{ getenv('ENV_VALUE') }} |