| 84 | {} |
| 85 | |
| 86 | std::size_t ScriptBrushNode::getNumFaces() { |
| 87 | // Sanity check |
| 88 | scene::INodePtr node = _node.lock(); |
| 89 | if (node == NULL) return 0; |
| 90 | |
| 91 | IBrush* brush = Node_getIBrush(node); |
| 92 | |
| 93 | return (brush != NULL) ? brush->getNumFaces() : 0; |
| 94 | } |
| 95 | |
| 96 | ScriptFace ScriptBrushNode::getFace(std::size_t index) |
| 97 | { |
no test coverage detected