Libraryless. Click here for Pure Java version (5270L/29K).
1 | static PtBuffer litpts(int... coordinates) {
|
2 | int n = l(coordinates)/2; |
3 | PtBuffer buf = new(n); |
4 | for i to n: |
5 | buf.add(pt(coordinates[i*2], coordinates[i*2+1])); |
6 | ret buf; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034100 |
| Snippet name: | litpts |
| Eternal ID of this version: | #1034100/1 |
| Text MD5: | f45a70ed3b5e15bdb6930aecff74f2b5 |
| Transpilation MD5: | 2e874fa23e1114e02707f1d67f598c1a |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-22 14:59:28 |
| Source code size: | 185 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 336 / 440 |
| Referenced in: | [show references] |