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

5
LINES

< > TinyBrain | #1010391 - blendDoublePts

JavaX fragment (include)

static DoublePt blendDoublePts(DoublePt x, DoublePt y, double yish) {
  double xish = 1-yish;
  ret new DoublePt(x.x*xish+y.x*yish, x.y*xish+y.y*yish);
}

Author comment

Began life as a copy of #1005551

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1010391
Snippet name: blendDoublePts
Eternal ID of this version: #1010391/1
Text MD5: f473d4409007509903cecbde7ceff1b5
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-14 04:31:17
Source code size: 158 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 21 / 23
Referenced in: [show]