Logo
Explore Help
Sign In
CocosPlugin/esengine
1
0
Fork 0
You've already forked esengine
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
69bb6bd9467724da79e0f06436f23a05e79126b1
esengine/packages/framework/spatial/tsup.config.ts

16 lines
339 B
TypeScript
Raw Normal View History

feat(spatial): 空间查询和索引系统 (#324) * feat(spatial): 添加空间查询包 - ISpatialQuery: 空间查询接口 - findInRadius, findInRect, findNearest, findKNearest - raycast, raycastFirst - IBounds, IRaycastHit, SpatialFilter 类型 - ISpatialIndex: 空间索引接口 - insert, remove, update, clear, getAll - GridSpatialIndex: 网格空间索引实现 - 基于均匀网格的空间划分 - 支持所有 ISpatialQuery 操作 - 工具函数 - createBounds, isPointInBounds, boundsIntersect - distanceSquared, distance * feat(spatial): 添加空间查询蓝图节点 - 添加 FindInRadius/FindInRect/FindNearest/FindKNearest 节点 - 添加 Raycast/RaycastFirst 射线检测节点 - 每个节点包含模板和执行器 - 使用 menuPath: ['Spatial', ...] 组织节点菜单
2025-12-25 12:15:06 +08:00
import { defineConfig } from 'tsup';
export default defineConfig({
entry: ['src/index.ts'],
format: ['esm'],
dts: true,
sourcemap: true,
clean: true,
external: [
'@esengine/ecs-framework',
'@esengine/ecs-framework-math',
'@esengine/blueprint'
],
tsconfig: 'tsconfig.build.json'
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API