Small optimization: moved doubleSided and flipSided properties from Mesh up to Object3D.
Having these "undefined" for non-mesh objects was causing unnecessary GL state setting when having scenes with mixed content (and coercing "undefined" to boolean turned out to be similarly costly as state setting).
Showing
想要评论请 注册 或 登录