Libraryless. Click here for Pure Java version (166L/1K).
1 | static Pt onePathDirection(int index) { |
2 | ret onePathDirections()[index]; |
3 | } |
4 | |
5 | static Pt onePathDirection(Pt p, int index) { |
6 | ret ptPlus(p, onePathDirections()[index]); |
7 | } |
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: | 176 / 225 |
Version history: | 2 change(s) |
Referenced in: | [show references] |