aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PhysicsSimulationApp.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/PhysicsSimulationApp.tsx')
-rw-r--r--src/client/views/nodes/PhysicsSimulationApp.tsx10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/client/views/nodes/PhysicsSimulationApp.tsx b/src/client/views/nodes/PhysicsSimulationApp.tsx
index 0536d0679..1dfa04a31 100644
--- a/src/client/views/nodes/PhysicsSimulationApp.tsx
+++ b/src/client/views/nodes/PhysicsSimulationApp.tsx
@@ -3,8 +3,6 @@ import "./PhysicsSimulationBox.scss";
import Weight, { IForce } from "./PhysicsSimulationWeight";
import Wall, { IWallProps } from "./PhysicsSimulationWall"
import Wedge from "./PhysicsSimulationWedge"
-import { props, any } from 'bluebird';
-import { render } from 'react-dom';
interface PhysicsVectorTemplate {
top: number;
@@ -70,8 +68,8 @@ export default class App extends React.Component<{}, IState> {
};
xMin = 0;
yMin = 0;
- xMax = window.innerWidth * 0.7;
- yMax = window.innerHeight * 0.8;
+ xMax = 300;
+ yMax = 300;
color = `rgba(0,0,0,0.5)`;
radius = 50
@@ -461,7 +459,7 @@ export default class App extends React.Component<{}, IState> {
</div>
);
})} */}
- {/* {this.state.weight && (
+ {this.state.weight && (
<Weight
adjustPendulumAngle={this.state.adjustPendulumAngle}
color={"red"}
@@ -506,7 +504,7 @@ export default class App extends React.Component<{}, IState> {
wedgeWidth={this.state.wedgeWidth}
coefficientOfKineticFriction={this.state.coefficientOfKineticFriction}
/>
- )} */}
+ )}
{this.state.wedge && (
<Wedge
startWidth={this.state.wedgeWidth}