• M
    Matrix4.lookAt: · 5c4131d3
    Mikael Emtinger 提交于
    - Changed so it sets an ordinary matrix. Also removed inversion of position, which broke A LOT of the examples.
    
    WebGLRenderer:
    - Using camera.matrixWorldInverse instead of camera.matrixWorld
    - Changed frustum check to camera.frustumContains( object );
    - Moved cameraInverse * matrixWorld to vertex shader (needs testing!) (note: normals not fixed yet!)
    
    Object3D.addChild:
    - Recurses up through hierarchy until reaches scene and adds itself to scene.objects/sounds/lights
    
    Camera:
    - Changed inverseMatrix -> matrixWorldInverse
    5c4131d3
Matrix4.js 22.8 KB