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

3
LINES

< > BotCompany Repo | #1016925 // ptAdd

JavaX fragment (include)

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

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: #1016925
Snippet name: ptAdd
Eternal ID of this version: #1016925/1
Text MD5: 26fc46b80161dc12042a262c15e16020
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:11:18
Source code size: 93 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 389 / 409
Referenced in: [show references]