On Wednesday 07 January 2009, Csaba Halász wrote:
0x006a3b59 in yasim::Airplane::compileFuselage
(this=0xc066688, f=0x7f84f00bf930) at
src/FDM/YASim/Airplane.cpp:512 512 float segWgt =
len*wid/segs;
(gdb) p segs
$1 = 0
(gdb) p *f
$3 = {front = {-13.604, 0, 1.3998},
LeeE wrote:
Oh yeah, and if the model is using the standard FG VRP (Visual
Reference Point) to align the 3D model and FDM config, ax ay (and
nearly always az) should all be 0.0. az might be different in some
aircraft, like the Nimrod MR for example, because the nose has a
large offset
Hi
LeeE schrieb am 08.01.2009 12:40:
On Wednesday 07 January 2009, Csaba Halász wrote:
0x006a3b59 in yasim::Airplane::compileFuselage
(this=0xc066688, f=0x7f84f00bf930) at
src/FDM/YASim/Airplane.cpp:512 512 float segWgt =
len*wid/segs;
(gdb) p segs
$1 = 0
(gdb) p *f
$3 =
On Thursday 08 January 2009, Jon Stockill wrote:
LeeE wrote:
Oh yeah, and if the model is using the standard FG VRP (Visual
Reference Point) to align the 3D model and FDM config, ax ay
(and nearly always az) should all be 0.0. az might be
different in some aircraft, like the Nimrod MR
On Thu, Jan 8, 2009 at 2:21 PM, Maik Justus mjus...@gmx.de wrote:
What is not a problem. It is only a div by zero, if the length of the
fuselage is zero. (ax==bx, ay==by, az==bz)
Yes. And YASim should check this during loading and report it, so the
model can be fixed. Rather than generating
0x006a3b59 in yasim::Airplane::compileFuselage
(this=0xc066688, f=0x7f84f00bf930) at src/FDM/YASim/Airplane.cpp:512
512 float segWgt = len*wid/segs;
(gdb) p segs
$1 = 0
(gdb) p *f
$3 = {front = {-13.604, 0, 1.3998}, back = {-13.604, 0,
1.3998}, width = 5.901,
6 matches
Mail list logo