static int blend(int x, int y, double yish) { double xish = 1-yish; ret (int) (x*xish+y*yish); } static double blend(double x, double y, double yish) { double xish = 1-yish; ret x*xish+y*yish; }
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: | #1006776 |
Snippet name: | blend |
Eternal ID of this version: | #1006776/4 |
Text MD5: | 9985beabc97fc54c71a72c97e80fef20 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-17 15:16:48 |
Source code size: | 213 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 513 / 551 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1035649 - iround_blend |