/dports/games/blackshadeselite/blackshadeselite/Source/ |
H A D | Person.cpp | 88 if(skeleton.joints[j].hasparent && skeleton.joints[j].visible) { in BulletCollideWithPlayer() 331 skeleton.joints[j].position += skeleton.joints[j].offset; in DoAnimations() 332 skeleton.joints[j].position = in DoAnimations() 335 skeleton.joints[j].realoldposition = skeleton.joints[j].position; in DoAnimations() 378 if(skeleton.joints[i].hasparent && skeleton.joints[i].visible) { in DoAnimations() 805 if(skeleton.joints[i].lower == 1 && skeleton.joints[i].label != groin) in DoAnimations() 1325 skeleton.joints[i].oldposition = skeleton.joints[i].position; in DrawSkeleton() 1326 skeleton.joints[i].position += skeleton.joints[i].offset; in DrawSkeleton() 1410 if(skeleton.joints[i].hasparent && skeleton.joints[i].visible) { in DrawSkeleton() 1422 if(skeleton.joints[i].hasparent && skeleton.joints[i].visible) { in DrawSkeleton() [all …]
|
H A D | Skeleton.cpp | 261 joints[i].realoldposition = joints[i].position; in DoConstraints() 268 joints[i].position = joints[i].position + joints[i].velocity * multiplier; in DoConstraints() 298 joints[i].oldposition = joints[i].position; in Draw() 412 joints[i].oldposition = joints[i].position; in Draw() 429 joints[num_joints].parent = &joints[which]; in AddJoint() 449 if(joints[i].parent == &joints[whichjoint]) in DeleteJoint() 484 joints[whichjoint].parent = &joints[which]; in SetJoint() 541 joints[which].rotate1 = 360 - joints[which].rotate1; in FindRotationJoint() 570 joints[which].rotate3 = 360 - joints[which].rotate3; in FindRotationJoint() 1050 joints[i].parent = &joints[parentID]; in Load() [all …]
|
H A D | GameTick.cpp | 68 person[k].skeleton.joints[j].position += in Splat() 69 person[k].skeleton.joints[j].offset; in Splat() 70 person[k].skeleton.joints[j].position = in Splat() 74 person[k].skeleton.joints[j].realoldposition = in Splat() 75 person[k].skeleton.joints[j].position; in Splat() 76 person[k].skeleton.joints[j].velocity = 0; in Splat() 3459 person[i].skeleton.joints[j].position += in GameTick() 3460 person[i].skeleton.joints[j].offset; in GameTick() 3462 person[i].skeleton.joints[j].position = in GameTick() 3471 person[i].skeleton.joints[j].velocity = in GameTick() [all …]
|
/dports/games/lugaru/lugaru-c7b99378439735c60f84869b05c6ebde53083667/Source/Animation/ |
H A D | Skeleton.cpp | 72 …CrossProduct(joints[forwardjoints[1]].position - joints[forwardjoints[0]].position, joints[forward… in FindForwards() 136 joints[i].position = joints[i].position + joints[i].velocity * multiplier; in DoConstraints() 156 joints[i].oldvelocity = joints[i].velocity; in DoConstraints() 249 if (joints[i].label == groin && !joints[i].locked && joints[i].delay <= 0) { in DoConstraints() 258 if (joints[i].label == head && !joints[i].locked && joints[i].delay <= 0) { in DoConstraints() 308 joints[i].velocity = joints[i].oldvelocity; in DoConstraints() 349 … if (joints[i].label == groin && !joints[i].locked && joints[i].delay <= 0) { in DoConstraints() 358 … if (joints[i].label == head && !joints[i].locked && joints[i].delay <= 0) { in DoConstraints() 470 …joints[i].label == lefthip || joints[i].label == leftknee || joints[i].label == leftankle || joint… in DoConstraints() 720 joints.clear(); in Load() [all …]
|
H A D | Animation.cpp | 40 for (unsigned j = 0; j < joints.size(); j++) { in loadBaseInfo() 42 … funpackf(tfile, "Bf Bf Bf", &joints[j].position.x, &joints[j].position.y, &joints[j].position.z); in loadBaseInfo() 44 for (unsigned j = 0; j < joints.size(); j++) { in loadBaseInfo() 46 funpackf(tfile, "Bf", &joints[j].twist); in loadBaseInfo() 48 for (unsigned j = 0; j < joints.size(); j++) { in loadBaseInfo() 52 joints[j].onground = (uch != 0); in loadBaseInfo() 60 for (unsigned j = 0; j < joints.size(); j++) { in loadTwist2() 61 funpackf(tfile, "Bf", &joints[j].twist2); in loadTwist2() 118 frames[i].joints.resize(numjoints); in Animation() 144 for (i = 0; i < frames.back().joints.size(); i++) { in Animation() [all …]
|
/dports/math/octave-forge-mechanics/mechanics/inst/ocframe/ |
H A D | PlotDiagrams.m | 51 line([joints(Near,1),joints(Far,1)],[joints(Near,2),joints(Far,2)],"color","blue"); 75 L=sqrt((joints(Near,1)-joints(Far,1))^2+(joints(Near,2)-joints(Far,2))^2); 76 l=(joints(Far,1)-joints(Near,1))/L; 77 m=(joints(Far,2)-joints(Near,2))/L; 105 line([joints(Near,1),joints(Far,1)],[joints(Near,2),joints(Far,2)],"color","blue"); 129 L=sqrt((joints(Near,1)-joints(Far,1))^2+(joints(Near,2)-joints(Far,2))^2); 130 l=(joints(Far,1)-joints(Near,1))/L; 131 m=(joints(Far,2)-joints(Near,2))/L; 159 line([joints(Near,1),joints(Far,1)],[joints(Near,2),joints(Far,2)],"color","blue"); 183 L=sqrt((joints(Near,1)-joints(Far,1))^2+(joints(Near,2)-joints(Far,2))^2); [all …]
|
H A D | PlotFrame.m | 18 ## @deftypefn {Function File} {} PlotFrame(@var{joints}, @var{members}, @var{D}, @var{factor}) 24 ## joints = [x , y, constraints ; ...] 38 function PlotFrame(joints,members,D,factor) 40 …usage("PlotFrame(joints,members,D,factor) D and factor ar optional. Use the help command for more … 50 line([joints(N,1),joints(F,1)],[joints(N,2),joints(F,2)],"color","blue"); 60 …line([joints(N,1)+D(N,1)*factor,joints(F,1)+D(F,1)*factor],[joints(N,2)+D(N,2)*factor,joints(F,2)+… 65 set (gca (), "xlim", [min(joints(:,1))-1,max(joints(:,1))+1]); 66 set (gca (), "ylim", [min(joints(:,2))-1,max(joints(:,2))+1]); 69 for i=1:rows(joints) 70 text(joints(i,1),joints(i,2),int2str(i)); %'color','blue' [all …]
|
H A D | ocframe_railwaybridge.m | 7 joints=[0:5.3636:59;zeros(4,12)]'; 8 joints(1,3:4)=[1,1]; 9 joints(12,3:4)=[1,1]; 14 temp=[temp;joints(i,1),(32*joints(i,1))/59-(32*joints(i,1)^2)/3481,0,0,0]; 17 joints=[joints;temp]; 42 [P,D,MemF]=SolveFrame(joints,members,nodeloads,[],[]); 45 %PlotFrame(joints,members,D,100);
|
H A D | MSNForces.m | 18 ## @deftypefn {Function File} {[@var{x}, @var{M}, @var{S}, @var{N}] =} MSNForces(@var{joints}, @var… 29 function [x,M,S,N]=MSNForces(joints,members,dist,point,MemF,membernum,divisions) 31 …usage("[x,M,S,N]=MSNForces(joints,members,dist,point,MemF,membernum,divisions) use the help comman… 38 L=sqrt((joints(Near,1)-joints(Far,1))^2+(joints(Near,2)-joints(Far,2))^2); 64 … temp=(TransformationMatrix(joints(Near,1),joints(Near,2),joints(Far,1),joints(Far,2))')^-1*temp'; 90 … temp=(TransformationMatrix(joints(Near,1),joints(Near,2),joints(Far,1),joints(Far,2))')^-1*temp'; 120 … temp=(TransformationMatrix(joints(Near,1),joints(Near,2),joints(Far,1),joints(Far,2))')^-1*temp'; 144 … temp=(TransformationMatrix(joints(Near,1),joints(Near,2),joints(Far,1),joints(Far,2))')^-1*temp'; 171 … temp=(TransformationMatrix(joints(Near,1),joints(Near,2),joints(Far,1),joints(Far,2))')^-1*temp'; 195 … temp=(TransformationMatrix(joints(Near,1),joints(Near,2),joints(Far,1),joints(Far,2))')^-1*temp';
|
/dports/math/octave-forge-mechanics/mechanics/inst/ocframe/private/ |
H A D | EquivalentJointLoads.m | 17 function [P_F,MemFEF]=EquivalentJointLoads(joints,members,dist,point) 18 % joints: [x, y, constraints; ...] 1= fixed 26 P_F=zeros(rows(joints)*3,1); 43 temp=(TransformationMatrix(joints(N,1),joints(N,2),joints(F,1),joints(F,2))')^-1*temp'; 49 …[F1,F2,F3,F4,F5,F6]=FixedEndForcesDist(sqrt((joints(N,1)-joints(F,1))^2+(joints(F,2)-joints(N,2))^… 51 F_global=((TransformationMatrix(joints(N,1),joints(N,2),joints(F,1),joints(F,2))')*F_local')'; 71 temp=(TransformationMatrix(joints(N,1),joints(N,2),joints(F,1),joints(F,2))')^-1*temp'; 76 …[F1,F2,F3,F4,F5,F6]=FixedEndForcesPnt(sqrt((joints(N,1)-joints(F,1))^2+(joints(F,2)-joints(N,2))^2… 78 F_global=((TransformationMatrix(joints(N,1),joints(N,2),joints(F,1),joints(F,2))')*F_local')';
|
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/poems/ |
H A D | SystemProcessor.h | 27 List<POEMSNode> joints; member 63 void processArray(int** joints, int njoint); 73 void SystemProcessor::processArray(int** joints, int njoint) in processArray() argument 80 if (mydebug) printf ("what is here joints: %d \n", joints[i][0]); in processArray() 85 newNode->idNumber = joints[i][0];//set its ID to the value in processArray() 87 …nodes.Insert(joints[i][0], joints[i][0], (void *) newNode);//and add it to the tree storage struct… in processArray() 89 if(!nodes.Find(joints[i][1])) //repeat process for the other half of each link in processArray() 93 newNode->idNumber = joints[i][1]; in processArray() 95 nodes.Insert(joints[i][1], joints[i][1], (void *) newNode); in processArray() 99 firstNode->joints.Append(secondNode); //and add the link from the first to the second... in processArray() [all …]
|
/dports/games/linwarrior/linwarrior/tools/mm3d/MD5AnimPlugin/ |
H A D | modfilter.cc | 81 jmap.reserve( joints.size() ); in orderJoints() 85 jmap_inv.reserve( joints.size() ); in orderJoints() 89 for (unsigned i = 0; i < joints.size(); i++) in orderJoints() 97 stack.reserve(joints.size()); in orderJoints() 114 if (joints[i]->m_parent == jointidx) in orderJoints() 130 for (unsigned i = 0; i < joints.size(); i++) in printHierarchy() 136 string cname = joints[jointidx]->m_name; in printHierarchy() 187 for (unsigned i = 0; i < joints.size(); i++) in printBaseframe() 205 string cname = joints[jointidx]->m_name; in printBaseframe() 234 unsigned numjoints = joints.size(); in printBounds() [all …]
|
/dports/games/linwarrior/linwarrior/source/psi3d/ |
H A D | md5frmt.h | 369 joint* joints = NULL; in readJoints() local 406 return joints; in readJoints() 409 delete joints; in readJoints() local 417 joint* joints = NULL; in mapMD5Mesh() local 495 delete joints; in mapMD5Mesh() local 530 MD5Format::toLocalJoints(m->numJoints, joints, joints); in testMD5MeshLoad() 531 MD5Format::toGlobalJoints(m->numJoints, joints, joints); in testMD5MeshLoad() 541 if (joints == joints_) { in toLocalJoints() 546 joint* j = joints; in toLocalJoints() 596 if (joints == joints_) { [all …]
|
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/src/FCollada/FCDocument/ |
H A D | FCDControllerInstance.cpp | 21 ImplementParameterObjectNoCtr(FCDControllerInstance, FCDSceneNode, joints); 25 , InitializeParameterNoArg(joints) in FCDControllerInstance() 47 clone->joints = joints; in Clone() 57 for (const FCDSceneNode** itJ = (const FCDSceneNode**) joints.begin(); itJ != joints.end(); ++itJ) in CalculateRootIds() 97 return joints.contains(joint); in FindJoint() 104 for (const FCDSceneNode** itr = joints.begin(); itr != joints.end(); ++i, ++itr) in FindJointIndex() 113 joints.push_back(j); in AppendJoint()
|
H A D | FCDSkinController.h | 147 fm::vector<FCDSkinControllerJoint> joints; variable 198 inline size_t GetJointCount() const { return joints.size(); } in GetJointCount() 206 inline FCDSkinControllerJoint* GetJoints() { return !joints.empty() ? &(joints.front()) : NULL; } in GetJoints() 207 …inline const FCDSkinControllerJoint* GetJoints() const { return !joints.empty() ? &(joints.front()… in GetJoints() 212 …rollerJoint* GetJoint(size_t index) { FUAssert(index < joints.size(), return NULL); return &joints… in GetJoint() 213 …Joint* GetJoint(size_t index) const { FUAssert(index < joints.size(), return NULL); return &joints… in GetJoint()
|
/dports/science/chrono/chrono-7.0.1/src/chrono_vehicle/wheeled_vehicle/suspension/ |
H A D | ChDoubleWishboneReduced.cpp | 382 joints.push_back(m_revolute[0]); in ExportComponentList() 383 joints.push_back(m_revolute[1]); in ExportComponentList() 384 joints.push_back(m_distUCA_F[0]); in ExportComponentList() 385 joints.push_back(m_distUCA_F[1]); in ExportComponentList() 386 joints.push_back(m_distUCA_B[0]); in ExportComponentList() 387 joints.push_back(m_distUCA_B[1]); in ExportComponentList() 388 joints.push_back(m_distLCA_F[0]); in ExportComponentList() 389 joints.push_back(m_distLCA_F[1]); in ExportComponentList() 419 joints.push_back(m_revolute[0]); in Output() 420 joints.push_back(m_revolute[1]); in Output() [all …]
|
H A D | ChHendricksonPRIMAXX.cpp | 719 joints.push_back(m_revolute[0]); in ExportComponentList() 720 joints.push_back(m_revolute[1]); in ExportComponentList() 731 joints.push_back(m_sphericalTB[0]); in ExportComponentList() 732 joints.push_back(m_sphericalTB[1]); in ExportComponentList() 743 joints.push_back(m_distTierod[0]); in ExportComponentList() 744 joints.push_back(m_distTierod[1]); in ExportComponentList() 785 joints.push_back(m_revolute[0]); in Output() 786 joints.push_back(m_revolute[1]); in Output() 797 joints.push_back(m_sphericalTB[0]); in Output() 798 joints.push_back(m_sphericalTB[1]); in Output() [all …]
|
H A D | ChMultiLink.cpp | 750 joints.push_back(m_revolute[0]); in ExportComponentList() 751 joints.push_back(m_revolute[1]); in ExportComponentList() 752 joints.push_back(m_revoluteUA[0]); in ExportComponentList() 753 joints.push_back(m_revoluteUA[1]); in ExportComponentList() 754 joints.push_back(m_sphericalUA[0]); in ExportComponentList() 755 joints.push_back(m_sphericalUA[1]); in ExportComponentList() 816 joints.push_back(m_revolute[0]); in Output() 817 joints.push_back(m_revolute[1]); in Output() 818 joints.push_back(m_revoluteUA[0]); in Output() 819 joints.push_back(m_revoluteUA[1]); in Output() [all …]
|
/dports/misc/ompl/ompl-1.5.2/demos/PlanarManipulator/ |
H A D | PlanarManipulator.cpp | 148 FK(&joints[0], frames); in FK() 153 FK(&joints(0), frames); in FK() 172 FK(&joints[0], eeFrame); in FK() 177 FK(&joints(0), eeFrame); in FK() 234 joints(i) = seed[i]; in IK() 249 Jacobian(joints, jac); in IK() 280 joints = joints + (alpha * delta_theta); in IK() 283 FK(joints, frame); in IK() 297 double angle = joints(i); in IK() 477 theta += joints[i]; in Jacobian() [all …]
|
H A D | PlanarManipulator.h | 83 void FK(const double *joints, std::vector<Eigen::Affine2d> &frames) const; 84 void FK(const std::vector<double> &joints, std::vector<Eigen::Affine2d> &frames) const; 85 void FK(const Eigen::VectorXd &joints, std::vector<Eigen::Affine2d> &frames) const; 86 void FK(const double *joints, Eigen::Affine2d &eeFrame) const; 87 void FK(const std::vector<double> &joints, Eigen::Affine2d &eeFrame) const; 88 void FK(const Eigen::VectorXd &joints, Eigen::Affine2d &eeFrame) const; 105 void Jacobian(const std::vector<double> &joints, Eigen::MatrixXd &jac) const; 106 void Jacobian(const Eigen::VectorXd &joints, Eigen::MatrixXd &jac) const; 107 void Jacobian(const double *joints, Eigen::MatrixXd &jac) const;
|
/dports/misc/morse/morse-1.4-154-g53f9eaa8/src/morse/middleware/ros/ |
H A D | jointtrajectorycontrollers.py | 13 joints = dict(self.data) 14 del joints['timestamp'] 15 js.joint_names = joints.keys() 16 js.actual.positions = joints.values() 18 js.actual.velocities = [0.0] * len(joints) 19 js.actual.accelerations = [0.0] * len(joints)
|
/dports/devel/ode/ode-0.13/ode/demo/ |
H A D | demo_crash.cpp | 89 static int joints; variable 284 joints = 0; in setupSimulation() 373 joint[joints] = dJointCreateHinge2 (world,0); in setupSimulation() 375 dJointAttach (joint[joints],b,body[bodies]); in setupSimulation() 380 dJointSetHinge2Axis1 (joint[joints],0,0,1); in setupSimulation() 381 dJointSetHinge2Axis2 (joint[joints],1,0,0); in setupSimulation() 397 joint[joints] = dJointCreateHinge2 (world,0); in setupSimulation() 404 dJointSetHinge2Axis1 (joint[joints],0,0,1); in setupSimulation() 405 dJointSetHinge2Axis2 (joint[joints],1,0,0); in setupSimulation() 514 for (j = 0; j < joints; j++) in simLoop() [all …]
|
/dports/graphics/py-box2d-py/box2d-py-2.3.8/examples/ |
H A D | web.py | 30 joints = [] variable in Web 64 self.joints = [] 74 self.joints.append(self.world.CreateJoint(dfn)) 84 for joint in self.joints: 87 self.joints.remove(joint) 100 if joint in self.joints: 101 self.joints.remove(joint) 103 % len(self.joints))
|
/dports/games/0ad/0ad-0.0.23b-alpha/libraries/source/fcollada/include/FCDocument/ |
H A D | FCDSkinController.h | 147 fm::vector<FCDSkinControllerJoint> joints; variable 198 inline size_t GetJointCount() const { return joints.size(); } in GetJointCount() 206 inline FCDSkinControllerJoint* GetJoints() { return !joints.empty() ? &(joints.front()) : NULL; } in GetJoints() 207 …inline const FCDSkinControllerJoint* GetJoints() const { return !joints.empty() ? &(joints.front()… in GetJoints() 212 …rollerJoint* GetJoint(size_t index) { FUAssert(index < joints.size(), return NULL); return &joints… in GetJoint() 213 …Joint* GetJoint(size_t index) const { FUAssert(index < joints.size(), return NULL); return &joints… in GetJoint()
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/graphics/ |
H A D | abstract_renderer.cpp | 34 const core::array< scene::ISkinnedMesh::SJoint * >& joints = in drawDebugMeshes() local 37 for (unsigned int j=0; j<joints.size(); j++) in drawDebugMeshes() 39 drawJoint( false, true, joints[j], smesh, j); in drawDebugMeshes() 60 const core::array< scene::ISkinnedMesh::SJoint * >& joints = in drawDebugMeshes() local 63 for (unsigned int j=0; j<joints.size(); j++) in drawDebugMeshes() 68 drawJoint(true, false, joints[j], smesh, j); in drawDebugMeshes() 87 const core::array< scene::ISkinnedMesh::SJoint * >& joints in drawJoint() local 89 for (unsigned int j=0; j<joints.size(); j++) in drawJoint() 91 if (joints[j]->Children.linear_search(joint) != -1) in drawJoint() 93 parent = joints[j]; in drawJoint()
|