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

7
LINES

< > BotCompany Repo | #1015049 // Test line angle (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (2330L/15K).

!7

p {
  print(LineWithColor(pt(2, 10), pt(12, 10), null).angle()); // 90
  print(LineWithColor(pt(2, 10), pt(2, 20), null).angle()); // 180
  print(LineWithColor(pt(2, 10), pt(-8, 10), null).angle()); // 270
}

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: #1015049
Snippet name: Test line angle (OK)
Eternal ID of this version: #1015049/2
Text MD5: 5875bcad927a956b36ee464e97f2dbdf
Transpilation MD5: 48442c61fde8602126727969c3d855a7
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-07 14:56:08
Source code size: 217 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 467 / 1087
Version history: 1 change(s)
Referenced in: