|
@@ -4201,21 +4201,16 @@ void JointSpatialGizmoPlugin::CreateGeneric6DOFJointGizmo(
|
|
|
float cs = 0.25;
|
|
|
|
|
|
for (int ax = 0; ax < 3; ax++) {
|
|
|
- /*r_points.push_back(p_offset.translated(Vector3(+cs,0,0)).origin);
|
|
|
- r_points.push_back(p_offset.translated(Vector3(-cs,0,0)).origin);
|
|
|
- r_points.push_back(p_offset.translated(Vector3(0,+cs,0)).origin);
|
|
|
- r_points.push_back(p_offset.translated(Vector3(0,-cs,0)).origin);
|
|
|
- r_points.push_back(p_offset.translated(Vector3(0,0,+cs*2)).origin);
|
|
|
- r_points.push_back(p_offset.translated(Vector3(0,0,-cs*2)).origin); */
|
|
|
-
|
|
|
- float ll;
|
|
|
- float ul;
|
|
|
- float lll;
|
|
|
- float lul;
|
|
|
-
|
|
|
- int a1, a2, a3;
|
|
|
- bool enable_ang;
|
|
|
- bool enable_lin;
|
|
|
+ float ll = 0;
|
|
|
+ float ul = 0;
|
|
|
+ float lll = 0;
|
|
|
+ float lul = 0;
|
|
|
+
|
|
|
+ int a1 = 0;
|
|
|
+ int a2 = 0;
|
|
|
+ int a3 = 0;
|
|
|
+ bool enable_ang = false;
|
|
|
+ bool enable_lin = false;
|
|
|
|
|
|
switch (ax) {
|
|
|
case 0:
|