Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Commit

Permalink
get rid of deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
Samson committed Jul 11, 2018
1 parent da47164 commit 92fe966
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/nodeMachineState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,6 @@
#include "nodeUtils.h"
#include <stp_schema.h>

StixSimGeomType GeomTypeFromString(char* typ)
{
if (!strcmp(typ, "MESH"))
{
return STIXSIM_GT_MESH;
}
if (!strcmp(typ, "POLYLINE"))
{
return STIXSIM_GT_POLYLINE;
}
else
{
return STIXSIM_GT_NULL;
}
}
v8::Local<v8::Object> makeProbeResult(double probe_contact_pt[3], double probe_loc[3]) {
v8::Local<v8::Object> proberesult = Nan::New<v8::Object>();
v8::Local<v8::Array> contact = Nan::New<v8::Array>();
Expand Down

0 comments on commit 92fe966

Please sign in to comment.