Open johndpope opened 7 years ago
private func lineBetweenNodeA(nodeA: SCNNode, nodeB: SCNNode) -> SCNNode {
return CylinderLine(parent: sceneView!.scene.rootNode, v1: nodeA.position, v2: nodeB.position, radius: 0.001, radSegmentCount: 16, color: UIColor.white) }
https://github.com/TBXark/Ruler/blob/e6a703d12a759fbef27bd48364572615333b1464/Ruler/Modules/Ruler/Views/LineNode.swift
this looks perfect like this
private func lineBetweenNodeA(nodeA: SCNNode, nodeB: SCNNode) -> SCNNode {
https://github.com/TBXark/Ruler/blob/e6a703d12a759fbef27bd48364572615333b1464/Ruler/Modules/Ruler/Views/LineNode.swift