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

3
LINES

< > BotCompany Repo | #1006963 // avgPoint

JavaX fragment (include)

static Pt avgPoint(Pt a, Pt b) {
  ret new Pt((a.x+b.x)/2, (a.y+b.y)/2);
}

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: #1006963
Snippet name: avgPoint
Eternal ID of this version: #1006963/1
Text MD5: 8979332d552d9f5756c567065087e058
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-21 11:28:30
Source code size: 76 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 451 / 516
Referenced in: [show references]