Transpiled version (5348L) is out of date.
1 | static double[] doublePtsToDoubleArray(L<DoublePt> l) { |
2 | int n = l(l); |
3 | double[] array = new[n*2]; |
4 | for i, p over l: { |
5 | array[i*2] = p.x; |
6 | array[i*2+1] = p.y; |
7 | } |
8 | ret array; |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034864 |
Snippet name: | doublePtsToDoubleArray |
Eternal ID of this version: | #1034864/4 |
Text MD5: | cc2dbe289543cf37d977e650b35ddbff |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-12 20:47:08 |
Source code size: | 194 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 150 / 220 |
Version history: | 3 change(s) |
Referenced in: | [show references] |