mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-03-28 08:39:38 +00:00
remove as many transforms as possible, render Z-up axes
This commit is contained in:
parent
b2404a90af
commit
60a46e708b
424 changed files with 383 additions and 256882 deletions
|
|
@ -104,7 +104,7 @@ export function ShapeModel() {
|
|||
}, [nodes, hullBoneIndices]);
|
||||
|
||||
return (
|
||||
<>
|
||||
<group rotation={[0, Math.PI / 2, 0]}>
|
||||
{processedNodes.map(({ node, geometry }) => (
|
||||
<mesh key={node.id} geometry={geometry} castShadow receiveShadow>
|
||||
{node.material ? (
|
||||
|
|
@ -134,6 +134,6 @@ export function ShapeModel() {
|
|||
</mesh>
|
||||
))}
|
||||
{debugMode ? <FloatingLabel>{shapeName}</FloatingLabel> : null}
|
||||
</>
|
||||
</group>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue