// @ts-nocheck// 引入three.jsimport * as THREE from 'three'// 导入轨道控制器import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls'// 导入lil.guiimport { GUI } from 'three/examples/jsm/l
import java.util.HashMap;class Point {int x;int y;Point() { x = 0; y = 0; }Point(int a, int b) { x = a; y = b; }}public class Solution {//解法一:存在问题public int maxPoints(Point[] points) {if(points==nu
drawLineBox(new THREE.Vector3(100, 50, 0), new THREE.Vector3(200, 100, 100)); function drawLineBox(start, end) { //开始点用cube标出来方便观察 geometry = new THREE.CubeGeometry(10, 10, 10); material = new