//
pkg.gl
Category
github.com/uxff/gravity-simulator-go
go_server
old
package
0.0.0-20240201134706-98770620c87a
Repository:
https://github.com/uxff/gravity-simulator-go.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
306 SLOC
#
Constants
FOR_TIMES
默认计算步数.
G
万有引力常数.
MAX_PARTICLES
默认最大天体数量.
MIN_CRITICAL_DIST
最小天体距离值 两天体距离小于此值了会相撞.
#
Structs
Acc
加速度结构体.
InitConfig
配置.
Orb
天体结构体声明.