Switch default transparency sorting back from ETNS_PLANE_CENTER to ETNS_CENTER

While there are some cases this fixes, like MartinVee's nice example for orthographic camera at https://irrlicht.sourceforge.io/forum/viewtopic.php?t=51598
it seemed to cause more problems in complex 3d scenes with perspective cameras.
Well anyway - both options are available now for those which need it.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6574 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2023-11-22 16:59:24 +00:00
parent 3752bd9bd4
commit c9e71e26f2

View File

@ -124,11 +124,12 @@ namespace scene
ETNS_PLANE_ORIGIN,
//! Distance from node center to camera plane
//! With orthographic cameras there's a high chance you might prefer this one
ETNS_PLANE_CENTER,
//! Default sorting Irrlicht uses currently
//! This may change in the future
ETNS_DEFAULT = ETNS_PLANE_CENTER
ETNS_DEFAULT = ETNS_CENTER
};
class IAnimatedMesh;