Libraryless. Click here for Pure Java version (166L/1K).
static Pt onePathDirection(int index) { ret onePathDirections()[index]; } static Pt onePathDirection(Pt p, int index) { ret ptPlus(p, onePathDirections()[index]); }
Began life as a copy of #1034961
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034962 |
Snippet name: | onePathDirection |
Eternal ID of this version: | #1034962/3 |
Text MD5: | e2e137169220a2fa27fdeddadc5f4661 |
Transpilation MD5: | 0f49c1a49c75f23142f18e7f2348b853 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-22 21:37:52 |
Source code size: | 175 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 175 / 223 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1035055 - onePathDirection_long - points encoded as long |