From 34911397500b3c40d31173dc3ea617def53d535a Mon Sep 17 00:00:00 2001 From: Daniel_M_Williams Date: Mon, 19 Oct 2015 16:45:41 -0400 Subject: [PATCH] added 9-grid and 9-star motor cluster configurations --- .../openrocket/rocketcomponent/ClusterConfiguration.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/src/net/sf/openrocket/rocketcomponent/ClusterConfiguration.java b/core/src/net/sf/openrocket/rocketcomponent/ClusterConfiguration.java index 73e8a6dee..7a8ba768e 100644 --- a/core/src/net/sf/openrocket/rocketcomponent/ClusterConfiguration.java +++ b/core/src/net/sf/openrocket/rocketcomponent/ClusterConfiguration.java @@ -52,7 +52,13 @@ public class ClusterConfiguration { Math.sin(2*Math.PI*3/5),Math.cos(2*Math.PI*3/5), Math.sin(2*Math.PI*4/5),Math.cos(2*Math.PI*4/5)), new ClusterConfiguration("6-star", 0,0, 0,1, SQRT3/2,0.5, SQRT3/2,-0.5, - 0,-1, -SQRT3/2,-0.5, -SQRT3/2,0.5) + 0,-1, -SQRT3/2,-0.5, -SQRT3/2,0.5), + new ClusterConfiguration("9-grid", -1.4,1.4, 0,1.4, 1.4,1.4, + -1.4,0, 0,0, 1.4,0, + -1.4,-1.4, 0,-1.4, 1.4,-1.4), + new ClusterConfiguration("9-star", 0, 0, + 1.4,0, 1.4/SQRT2,-1.4/SQRT2, 0,-1.4, -1.4/SQRT2,-1.4/SQRT2, + -1.4,0, -1.4/SQRT2,1.4/SQRT2, 0,1.4, 1.4/SQRT2,1.4/SQRT2) };