3D XYZ Coordinate Axises - Swift 4
pod 'CoordinateAxis'
//create an 3D Coordinate system
let xyz = SCNXYZAxis(axisName: ("X", "Y", "Z"),
radius: 0.01, //axis radius
sizeVector: SCNVector3(0.5, 0.7, 0.9), //axis length
directionVector: SCNVector3(1, 1, 1), //axis direction
colors: (x:.blue, y:.blue, z:.blue)) //axis color
// add to the scene (0,0,0)
let scene: SCNScene = SCNScene()
scene.rootNode.addChildNode(xyz)
// translate to scene
xyz.moveAxis(transform: SCNVector3(0,-1,0))
