+float Wing::getGroundEffect(float* posOut)
+{
+ int i;
+ for(i=0; i<3; i++) posOut[i] = _base[i];
+ float span = _length * Math::cos(_sweep) * Math::cos(_dihedral);
+ span = 2*(span + Math::abs(_base[2]));
+ return span;
+}
+
+void Wing::getTip(float* tip)
+{
+ tip[0] = -Math::tan(_sweep);
+ tip[1] = Math::cos(_dihedral);
+ tip[2] = Math::sin(_dihedral);
+ Math::unit3(tip, tip);
+ Math::mul3(_length, tip, tip);
+ Math::add3(_base, tip, tip);
+}
+
+bool Wing::isMirrored()
+{
+ return _mirror;
+}
+