• A
    A lot of bugfixing and refactoring. · 2ecbe2de
    alteredq 提交于
    - getters/setters are no more in Vector3
      - object hierarchies thus don't use "isDirty"
      - this was completely killing performance for anything that was touching a lot of Vector3 like creation of meshes and dynamic buffers
      - even without this, performance of hierarchies went up (a lot)
    
    - objects do not get passed renderer anymore
      - camera was almost also removed, but this is useful for LOD (though there may be some cleaner way to do this?)
    
    - material ids are now unified, this makes "geometry.sortFacesByMaterial" faster (thus scene init / GUI blocking is shorter)
    
    - all WebGL examples should work now (render-to-texture has weird lights and in some camera control feels different)
    
    - CanvasRender still broken, despite many efforts :(
       - currently only points and lines work, faces don't show up. I think this may need assistance from mrdoob.
    2ecbe2de
Matrix4.js 22.7 KB