First commit
This commit is contained in:
commit
7fe5d03a09
33 changed files with 6524 additions and 0 deletions
8
app/three/utils/fetch-vertices.ts
Normal file
8
app/three/utils/fetch-vertices.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { unpackVertices } from "./parsers";
|
||||
import { request } from "./request";
|
||||
|
||||
export async function fetchVertices(pointUrl: string, geomId: string) {
|
||||
const url = pointUrl + geomId;
|
||||
const buffer = await request(url);
|
||||
return unpackVertices(buffer);
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue