Does not handle rotation at all. solveWorkspaceSnaps is called in the debug game creation (Application.cpp) Added isA to instance class
16 lines
382 B
C++
16 lines
382 B
C++
#pragma once
|
|
#include "Instance.h"
|
|
#include "PartInstance.h"
|
|
|
|
class JointsService:
|
|
public Instance
|
|
{
|
|
public:
|
|
JointsService(void);
|
|
~JointsService(void);
|
|
void createSnap(PartInstance* Part1, PartInstance* Part2);
|
|
void destroyPartSnap(PartInstance* Part);
|
|
void JointsService::solvePartSnap(PartInstance* Part, PartInstance* Part2);
|
|
void JointsService::solveWorkspaceSnaps();
|
|
};
|