Dome bug

bug in constructor public Dome(Vector3f center, int planes, int radialSamples, float radius, boolean insideView)



if insideView is true it doesnt flip normals, so that variable currently does nothing.

This is not true.



Look in Dome.updateGeometry():

[java]

if (insideView) {

nb.put(kNormal.x).put(kNormal.y).put(kNormal.z);

} else {

nb.put(-kNormal.x).put(-kNormal.y).put(-kNormal.z);

}

[/java]

It does flip the normal. Your issue might be somewhere else.

hello,



it does “flip normals” but it doesnt “flip indices”, a simple example creating 2 different domes will proove that ( both have the exact same appearance).

Oops. Well then why didn’t you just say so?

Fixed in SVN.

Hey, Am I seeing 2 tralalas or is it a mirage? I’m seeing things :D…