Skip to content

Commit

Permalink
comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
f4alt committed Nov 16, 2021
1 parent c30ecc3 commit 12fa27e
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/art/brlcadplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,9 @@ BrlcadObject::BrlcadObject(
{
configure_raytrace_application(get_database().c_str(), get_object_count(), get_objects());
VSET(min, m_params.get_required<double>("minX"), m_params.get_required<double>("minY"), m_params.get_required<double>("minZ"));
VSET(max, m_params.get_required<double>("maxX"), m_params.get_required<double>("maxY"), m_params.get_required<double>("maxZ"));
// VMOVE(min, ap->a_uvec);
// VMOVE(max, ap->a_vvec);
VSET(max, m_params.get_required<double>("maxX"), m_params.get_required<double>("maxY"), m_params.get_required<double>("maxZ"));

// fprintf(output, "constructor built here \n");
// fflush(output);
}


Expand All @@ -212,18 +209,13 @@ BrlcadObject:: BrlcadObject(
this->resources = p_resources;
VMOVE(this->min, ap->a_uvec);
VMOVE(this->max, ap->a_vvec);

// fprintf(output, "other constructor built here \n");
// fflush(output);
}


/* Delete instance */
void
BrlcadObject::release()
{
// bu_free(resources, "appleseed");
//bu_free(ap, "appleseed");
delete this;
}

Expand Down Expand Up @@ -347,7 +339,7 @@ BrlcadObject::intersect(const asr::ShadingRay& ray) const

// Compute a front point, a back point and the geometric normal in object
// instance space for a given ray with origin being a point on the surface
void
void
BrlcadObject::refine_and_offset(
const asf::Ray3d& obj_inst_ray,
asf::Vector3d& obj_inst_front_point,
Expand Down

0 comments on commit 12fa27e

Please sign in to comment.