(Object b)
| 1417 | } |
| 1418 | |
| 1419 | private Vec2 convertToVec2(Object b) { |
| 1420 | if (b instanceof Vec2) return ((Vec2) b); |
| 1421 | if (b instanceof Number) |
| 1422 | return new Vec2(((Number) b).doubleValue(), ((Number) b).doubleValue()); |
| 1423 | // Vec4 — ?? |
| 1424 | return null; |
| 1425 | } |
| 1426 | |
| 1427 | @Override |
| 1428 | public Object __sub__(Object b) { |