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

4
LINES

< > BotCompany Repo | #1009861 // untranslatePt

JavaX fragment (include)

static Pt untranslatePt(Pt a, Pt b) {
  if (a == null) ret b;
  ret new Pt(b.x-a.x, b.y-a.y);
}

Author comment

Began life as a copy of #1009860

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009861
Snippet name: untranslatePt
Eternal ID of this version: #1009861/1
Text MD5: a6495f2294237be08dbb59c4a503bc19
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-22 00:55:10
Source code size: 98 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 355 / 374
Referenced in: [show references]