Libraryless. Click here for Pure Java version (738L/4K).
1 | static long onePathDirection_long(int index) { |
2 | ret ptToLong(onePathDirections()[index]); |
3 | } |
4 | |
5 | static long onePathDirection_long(long p, int index) { |
6 | Pt p2 = onePathDirection(index); |
7 | ret twoIntsToLong(firstIntFromLong(p)+p2.x, secondIntFromLong(p)+p2.y); |
8 | } |
Began life as a copy of #1034962
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035055 |
Snippet name: | onePathDirection_long - points encoded as long |
Eternal ID of this version: | #1035055/4 |
Text MD5: | e128f80ec6b1097dfeb3e2090c2db25f |
Transpilation MD5: | 748800379f21d09db7483272ac0ae7ca |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-26 03:01:39 |
Source code size: | 266 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 135 / 191 |
Version history: | 3 change(s) |
Referenced in: | [show references] |