You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var verts_ba = new THREE.BufferAttribute(debugVertices, 3).setUsage(THREE.DynamicDrawUsage);
var colors_ba = new THREE.BufferAttribute(debugColors, 3).setUsage(THREE.DynamicDrawUsage);
Debug.debug_geometry.setAttribute("position", verts_ba);
Debug.debug_geometry.setAttribute("color", colors_ba);
Hey thanks a lot for implementing this debug drawer I think its amazing! For the example over how to implement the drawer the current implementation uses addAttribute and setDynamic(true) which has been deprecated by threejs. This is a potential update/ fix that uses setAttribute and setUsage(THREE.DynamicDrawUsage) instead.
The text was updated successfully, but these errors were encountered:
Hey thanks a lot for implementing this debug drawer I think its amazing! For the example over how to implement the drawer the current implementation uses addAttribute and setDynamic(true) which has been deprecated by threejs. This is a potential update/ fix that uses setAttribute and setUsage(THREE.DynamicDrawUsage) instead.
The text was updated successfully, but these errors were encountered: