rem: mat4.perspective(PMatrix3, options_init.projection_3d_angle, (canvas.width/2)/canvas.height, options_init.projection_3d_near, options_init.projection_3d_far); 
add:  switch(config.view_3d) { case 'stereo': const_vert = canvas.height/canvas.width; const_hor = 1/2; break; case 'flat': default: const_vert = canvas.height/canvas.width; const_hor = 1; return; } if(config.view_3d_projection === 'perspective') mat4.projectionLen(PMatrix3, options_init.projection_3d_angle*const_hor, options_init.projection_3d_angle*const_vert, options_init.projection_3d_near, options_init.projection_3d_far); else if(config.view_3d_projection === 'ortogonal') mat4.ortogonalLen(PMatrix3, config.view_3d_projection_ortogonal_length, config.view_3d_projection_ortogonal_aspect_x, config.view_3d_projection_ortogonal_aspect_y) 
context:       function resize() {        twgl.resizeCanvasToDisplaySize( canvas );        mat5.projectionLen(PMatrix,          options_init.projection_angle,          options_init.projection_angle,          options_init.projection_angle, options_init.projection_near, options_init.projection_far);        mat4.perspective(PMatrix3, options_init.projection_3d_angle,          (canvas.width/2)/canvas.height,          options_init.projection_3d_near, options_init.projection_3d_far);      }
meta: 5665	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5665/0f8ba5d109269d49d72be1d776721a5a867dd729/NEngine.js/clean/lib/NEngine.js