mujoco-react 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mujoco-react",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "Composable React Three Fiber building blocks for MuJoCo WASM simulations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,6 +15,7 @@ import {
15
15
  } from 'react';
16
16
  import * as THREE from 'three';
17
17
  import { MujocoData, MujocoModel, MujocoModule, getContact } from '../types';
18
+ import { SceneRenderer } from '../components/SceneRenderer';
18
19
  import {
19
20
  ActuatorInfo,
20
21
  BodyInfo,
@@ -922,6 +923,7 @@ export function MujocoSimProvider({
922
923
 
923
924
  return (
924
925
  <MujocoSimContext.Provider value={contextValue}>
926
+ <SceneRenderer />
925
927
  {children}
926
928
  </MujocoSimContext.Provider>
927
929
  );
package/src/index.ts CHANGED
@@ -32,7 +32,6 @@ export { useIk } from './core/IkContext';
32
32
  export type { IkContextValue } from './core/IkContext';
33
33
 
34
34
  // Components
35
- export { SceneRenderer } from './components/SceneRenderer';
36
35
  export { IkGizmo } from './components/IkGizmo';
37
36
  export { ContactMarkers } from './components/ContactMarkers';
38
37
  export { DragInteraction } from './components/DragInteraction';