second good build. Joints

This commit is contained in:
Aik-Siong Koh
2023-05-05 19:01:53 -06:00
parent 697aad4db9
commit d5ac041906
84 changed files with 1616 additions and 174 deletions

View File

@@ -1 +1,31 @@
#include "Constraint.h"
//#include "Item.h"
using namespace MbD;
Constraint::Constraint()
{
initialize();
}
Constraint::Constraint(const char* str) : Item(str)
{
initialize();
}
void Constraint::initialize()
{
iG = -1;
aG = 0.0;
lam = 0.0;
}
void Constraint::setOwner(Item* x)
{
owner = x;
}
Item* Constraint::getOwner()
{
return owner;
}