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

3
LINES

< > BotCompany Repo | #1016926 // ptDiff

JavaX fragment (include)

static Pt ptDiff(Pt a, Pt b) {
  ret a == null ? b : b == null ? a : pt(a.x-b.x, a.y-b.y);
}

Author comment

Began life as a copy of #1016925

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016926
Snippet name: ptDiff
Eternal ID of this version: #1016926/1
Text MD5: d8cdc23e3c85dbfeec132f8c84610f15
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-08 01:18:18
Source code size: 94 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 297 / 341
Referenced in: [show references]