Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
iMSTK
iMSTK
Commits
a0823f32
Commit
a0823f32
authored
Jun 21, 2019
by
Sreekanth Arikatla
Browse files
REFAC: Remove unwanted code from examples
parent
55a69b68
Changes
4
Hide whitespace changes
Inline
Side-by-side
Examples/PBDCloth/pbdClothExample.cpp
View file @
a0823f32
...
...
@@ -129,8 +129,8 @@ int main()
scene
->
addSceneObject
(
deformableObj
);
// print UPS
auto
ups
=
std
::
make_shared
<
UPSCounter
>
();
apiutils
::
printUPS
(
sdk
->
getSceneManager
(
scene
),
ups
);
/*
auto ups = std::make_shared<UPSCounter>();
apiutils::printUPS(sdk->getSceneManager(scene), ups);
*/
scene
->
getCamera
()
->
setFocalPoint
(
0
,
-
5
,
5
);
scene
->
getCamera
()
->
setPosition
(
-
15.
,
-
5.0
,
15.0
);
...
...
Examples/PBDVolume/PBDVolumeExample.cpp
View file @
a0823f32
...
...
@@ -119,8 +119,8 @@ int main()
scene
->
addLight
(
light
);
// print UPS
auto
ups
=
std
::
make_shared
<
UPSCounter
>
();
apiutils
::
printUPS
(
sdk
->
getSceneManager
(
scene
),
ups
);
/*
auto ups = std::make_shared<UPSCounter>();
apiutils::printUPS(sdk->getSceneManager(scene), ups);
*/
sdk
->
setActiveScene
(
scene
);
sdk
->
getViewer
()
->
setBackgroundColors
(
Vec3d
(
0.3285
,
0.3285
,
0.6525
),
Vec3d
(
0.13836
,
0.13836
,
0.2748
),
true
);
...
...
Source/SceneElements/Controllers/imstkCameraController.cpp
View file @
a0823f32
...
...
@@ -27,11 +27,6 @@
namespace
imstk
{
void
CameraController
::
initModule
()
{
}
void
CameraController
::
runModule
()
{
...
...
Source/SceneElements/Controllers/imstkCameraController.h
View file @
a0823f32
...
...
@@ -74,7 +74,7 @@ protected:
///
/// \brief
///
virtual
void
initModule
()
override
;
virtual
void
initModule
()
override
{}
;
///
/// \brief
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment