Skip to content

Commit

Permalink
cleaned up Plane js bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
fraguada committed Nov 26, 2024
1 parent dfe8cbf commit fc4562d
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/bindings/bnd_plane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,21 +240,10 @@ void initPlaneBindings(void*)
.field("zAxis", &BND_Plane::m_zaxis);

class_<BND_PlaneHelper>("Plane")

.class_function("worldXY", &BND_Plane::WorldXY)
.class_function("worldYZ", &BND_Plane::WorldYZ)
.class_function("worldZX", &BND_Plane::WorldZX)
.class_function("unset", &BND_Plane::Unset)
.property("origin", &BND_Plane::m_origin)
.property("xAxis", &BND_Plane::m_xaxis)
.property("yAxis", &BND_Plane::m_yaxis)
.property("zAxis", &BND_Plane::m_zaxis)
.function("pointAtUV", &BND_Plane::PointAtUV)
.function("pointAtUVW", &BND_Plane::PointAtUVW)
.function("rotate", &BND_Plane::Rotate)
.function("toJSON", &BND_Plane::toJSON)
.function("encode", &BND_Plane::Encode)
.class_function("decode", &BND_Plane::Decode)
.class_function("worldXY", &BND_PlaneHelper::WorldXY)
.class_function("worldYZ", &BND_PlaneHelper::WorldYZ)
.class_function("worldZX", &BND_PlaneHelper::WorldZX)
.class_function("unset", &BND_PlaneHelper::WorldZX)
;

}
Expand Down

0 comments on commit fc4562d

Please sign in to comment.