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

7
LINES

< > BotCompany Repo | #1033745 // scaleDoublePt

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (4658L) is out of date.

static DoublePt scaleDoublePt(DoublePt p, double f) {
  ret new DoublePt(p.x*f, p.y*f);
}

static DoublePt scaleDoublePt(double f, DoublePt p) {
  ret scaleDoublePt(p, f);
}

Author comment

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: 162 / 235
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1033747 - scaleDoublePts