Skip to content
Snippets Groups Projects
Commit 04575bc7 authored by Andrew Wilson's avatar Andrew Wilson :elephant:
Browse files

STYLE: Uncrustify

parent ac111cdb
No related branches found
No related tags found
No related merge requests found
......@@ -64,8 +64,8 @@ main()
// Device Server
imstkNew<HapticDeviceManager> server;
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
// Create bone scene object
// Load the mesh
......
......@@ -53,8 +53,8 @@ main()
// Device Server
imstkNew<HapticDeviceManager> server;
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
// Load Mesh
auto mesh = MeshIO::read<SurfaceMesh>(iMSTK_DATA_ROOT "/asianDragon/asianDragon.obj");
......
......@@ -51,8 +51,8 @@ main()
// Device Server
imstkNew<HapticDeviceManager> server;
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
// Object
imstkNew<Cube> geom(Vec3d(0.0, 1.0, 0.0), 2.0);
......
......@@ -198,8 +198,8 @@ main()
// Device Server
imstkNew<HapticDeviceManager> server;
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
// Create a virtual coupling object
imstkNew<Sphere> visualGeom(Vec3d(0.0, 0.0, 0.0), 5.0);
......
......@@ -69,8 +69,8 @@ main()
// Device Server
imstkNew<HapticDeviceManager> server;
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
const std::string deviceName = "";
std::shared_ptr<HapticDeviceClient> client = server->makeDeviceClient(deviceName);
// Create a virtual coupling object
imstkNew<Sphere> visualGeom(Vec3d(0.0, 0.0, 0.0), 20.0);
......
......@@ -54,7 +54,7 @@ public:
public:
ButtonStateType m_buttonState;
const int m_button = -1;
const int m_button = -1;
};
///
......
......@@ -110,7 +110,7 @@ HapticDeviceClient::hapticCallback(void* pData)
client->m_position << state.pos[0], state.pos[1], state.pos[2];
client->m_velocity << state.vel[0], state.vel[1], state.vel[2];
client->m_orientation = (Eigen::Affine3d(Eigen::Matrix4d(state.trans))).rotation();
for (int i = 0; i < 4; i++)
{
// If button down and not previously down
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment