comments how to do
This commit is contained in:
parent
4772b41472
commit
3421201a98
1 changed files with 16 additions and 7 deletions
|
@ -83,6 +83,15 @@ void AtomicRotationTransform::drawActualIndicator(float size)
|
||||||
void AtomicRotationTransform::optimize_value(const Vec3& local_vector, const Vec3& target, bool inverse)
|
void AtomicRotationTransform::optimize_value(const Vec3& local_vector, const Vec3& target, bool inverse)
|
||||||
{
|
{
|
||||||
/*Task: Implement parameter optimization*/
|
/*Task: Implement parameter optimization*/
|
||||||
|
|
||||||
|
// target into local_target
|
||||||
|
// get dofs
|
||||||
|
// project target into plane decided by which dofs exist
|
||||||
|
// scal mult local_target and local_vector
|
||||||
|
|
||||||
|
// use only degrees defined by dofs
|
||||||
|
// if inverse == true use -angle with set_value()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AtomicTranslationTransform::AtomicTranslationTransform(int dim)
|
AtomicTranslationTransform::AtomicTranslationTransform(int dim)
|
||||||
|
|
Loading…
Reference in a new issue