Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1034962 // onePathDirection

JavaX fragment (include) [tags: use-pretranspiled]

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]);
}

Author comment

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: 174 / 221
Version history: 2 change(s)
Referenced in: [show references]