Commit ab2adea5 authored by amandaghassaei's avatar amandaghassaei
Browse files

small changes

parent 8da3d350
...@@ -20,7 +20,6 @@ function Beam(nodes){ ...@@ -20,7 +20,6 @@ function Beam(nodes){
this.object3D = new THREE.Line(lineGeometry, beamMaterial); this.object3D = new THREE.Line(lineGeometry, beamMaterial);
this.object3D._myBeam = this; this.object3D._myBeam = this;
this.object3D.frustumCulled = false;//todo get rid of this
this.originalLength = this.getLength(); this.originalLength = this.getLength();
} }
......
...@@ -57,6 +57,11 @@ function initStaticSolver(){ ...@@ -57,6 +57,11 @@ function initStaticSolver(){
}); });
} }
function solve(){
}
function reset(){
}
function solveStep(){ function solveStep(){
console.log("static solve"); console.log("static solve");
if (fixedIndicesMapping.length == 0){//no boundary conditions if (fixedIndicesMapping.length == 0){//no boundary conditions
...@@ -256,6 +261,8 @@ function initStaticSolver(){ ...@@ -256,6 +261,8 @@ function initStaticSolver(){
return { return {
syncNodesAndEdges: syncNodesAndEdges syncNodesAndEdges: syncNodesAndEdges,
solve:solve,
reset:reset
} }
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment