-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SofaBase] Package SofaBaseCollision #1653
[SofaBase] Package SofaBaseCollision #1653
Conversation
[ci-build][with-all-tests] |
387e4e5
to
7cac067
Compare
7cac067
to
3be530a
Compare
@@ -184,12 +176,7 @@ void CubeCollisionModel::draw(const core::visual::VisualParams* vparams) | |||
++level; | |||
color *= 0.8f; | |||
} | |||
Vec<4,float> c; | |||
if (isSimulated()) | |||
c=Vec<4,float>(1.0f, 1.0f, 1.0f, color); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it is like TriangleModel, I think simulated is "gold" and not is white
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was not sure but I went for the lazy way :p
@@ -42,13 +36,7 @@ int RigidCylinderCollisionModelClass = core::RegisterObject("Collision model whi | |||
.addAlias("CylinderModel") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't even know we had that in SOFA ....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😙
@@ -52,20 +45,12 @@ class SOFA_BASE_COLLISION_API NewProximityIntersection : public BaseProximityInt | |||
|
|||
}; | |||
|
|||
} // namespace collision | |||
} // namespace sofa::core::collision |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sofa::component::collision no sofa::core
yes... I'm really reading!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right.
(And i dont doubt about it, with your remarks on end of line or spaces 😙)
|
||
#include <SofaBase/config.h> | ||
#include <sofa/config.h> | ||
#include <sofa/config/sharedlibrary_defines.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this header?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one ?
#include <sofa/config/sharedlibrary_defines.h>
It defines the macros SOFA_EXPORT_DYNAMIC_LIBRARY and SOFA_IMPORT_DYNAMIC_LIBRARY
* cmake setup * cleaning * Fix compilation (coming from the removal of the inclusion of MechanicalObject) * clean headers * remove warnings * use rgbacolor * add component change * Update NewProximityIntersection.h * replace color for CubeModel
#1633
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if