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

3
LINES

< > BotCompany Repo | #1034963 // rotatePtRight

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

Libraryless. Click here for Pure Java version (133L/1K).

static Pt rotatePtRight(Pt p) {
  ret pt(-p.y, p.x);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034963
Snippet name: rotatePtRight
Eternal ID of this version: #1034963/1
Text MD5: ee9099978cadba0a10f17c37f3b20475
Transpilation MD5: ee12375c029783a4c56c621f85ad7553
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-18 00:52:02
Source code size: 56 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 59 / 88
Referenced in: [show references]