Transpiled version (94L) is out of date.
static int ptCoord(Pt p, int dimension) { ret p == null ? 0 : dimension == 0 ? p.x : p.y; } static int ptCoord(int dimension, Pt p) { ret ptCoord(p, dimension); }
Began life as a copy of #1009862
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032234 |
Snippet name: | ptCoord - get coordinate of Pt (0 for x, 1 for y) |
Eternal ID of this version: | #1032234/2 |
Text MD5: | b313d667de6262bbfa1e094c5d35947e |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-21 02:08:13 |
Source code size: | 169 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 151 / 236 |
Version history: | 1 change(s) |
Referenced in: | [show references] |