Skip to content

Instantly share code, notes, and snippets.

@rotoglup
Last active May 18, 2020 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rotoglup/25a21e1b241e0856da7daa76ad72da66 to your computer and use it in GitHub Desktop.
Save rotoglup/25a21e1b241e0856da7daa76ad72da66 to your computer and use it in GitHub Desktop.
A personal list of traps if fell into using threejs

applyMatrix on Geometry does not flip faces when needed

applyMatrix, on Geometry or BufferGeometry, does not flip faces indices when applying a matrix that flips normals (determinant < 0).

see mrdoob/three.js#17361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment