Skip to content

Dagon 1.1.1

Latest

Choose a tag to compare

@gecko0307 gecko0307 released this 29 Jun 20:40
  • Assets
    • New property GLTFMeshPrimitive.materialIndex (as it appears in glTF file). It is passed to the outgoing Triangle structure when iterating faces with GLTFAsset.opApply, which allows to pass material data elsewhere. Main use case for this feature is accounting for face materials in collision detection and raycasting
  • Extensions
    • dagon:newton:
      • Support material indices for triangles in NewtonMeshShape
      • Breaking change: NewtonRaycaster.onRayHit now requires long id parameter for material IDs.