MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / SphereModule

Method SphereModule

src/module/spheremodule.cpp:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23#include "rmath.h"
24
25SphereModule::SphereModule(Reporter& r) : PrimitiveModule(r,"sphere")
26{
27 addDescription(tr("Constructs a sphere. The sphere will be centered at the origin."));
28 addParameter("radius",tr("The radius of the sphere."));
29}
30
31Node* SphereModule::evaluate(const Context& ctx) const
32{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected