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

3
LINES

< > TinyBrain | #1007271 - ceilScalePt

JavaX fragment (include)

static Pt ceilScalePt(Pt p, double f) {
  ret new Pt(iceil(p.x*f), iceil(p.y*f));
}

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1007271
Snippet name: ceilScalePt
Eternal ID of this version: #1007271/2
Text MD5: d484cc90e68dfe40cb0e5b627e72fd60
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-14 14:28:42
Source code size: 85 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 269 / 261
Version history: 1 change(s)
Referenced in: [show references]