Transpiled version (4658L) is out of date.
1 | static DoublePt scaleDoublePt(DoublePt p, double f) { |
2 | ret new DoublePt(p.x*f, p.y*f); |
3 | } |
4 | |
5 | static DoublePt scaleDoublePt(double f, DoublePt p) { |
6 | ret scaleDoublePt(p, f); |
7 | } |
Began life as a copy of #1010649
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033745 |
Snippet name: | scaleDoublePt |
Eternal ID of this version: | #1033745/4 |
Text MD5: | aa4994d87334fb4178cb8db0fc7d49bf |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-01 21:05:30 |
Source code size: | 175 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 163 / 236 |
Version history: | 3 change(s) |
Referenced in: | [show references] |