mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
use generalized spiral points algorithm
This commit is contained in:
parent
5c08de449c
commit
17c742416f
@ -373,10 +373,11 @@ public class ExplosionNukeRay {
|
|||||||
int amountProcessed = 0;
|
int amountProcessed = 0;
|
||||||
|
|
||||||
while (this.gss_num_max >= this.gss_num){
|
while (this.gss_num_max >= this.gss_num){
|
||||||
// 一般化螺旋集合を 一個上げる
|
|
||||||
|
// Raise one generalized spiral points
|
||||||
this.generateGssUp();
|
this.generateGssUp();
|
||||||
|
|
||||||
//球面座標を直交座標を取得
|
// Get Cartesian coordinates for spherical coordinates
|
||||||
Vec3 vec = this.getSpherical2cartesian();
|
Vec3 vec = this.getSpherical2cartesian();
|
||||||
|
|
||||||
int length = (int)Math.ceil(strength);
|
int length = (int)Math.ceil(strength);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user