1 | static DoublePt blendDoublePts(DoublePt x, DoublePt y, double yish) { |
2 | double xish = 1-yish; |
3 | ret new DoublePt(x.x*xish+y.x*yish, x.y*xish+y.y*yish); |
4 | } |
Began life as a copy of #1005551
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: | #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 / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 493 / 517 |
Referenced in: | [show references] |