mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 17:38:15 +02:00
cleanups
This commit is contained in:
parent
41663c58b8
commit
1b67a8b251
5 changed files with 24 additions and 7 deletions
|
@ -49,7 +49,7 @@ PacketVersion versionForPacketType(PacketType packetType) {
|
|||
case PacketType::EntityEdit:
|
||||
case PacketType::EntityData:
|
||||
case PacketType::EntityPhysics:
|
||||
return VERSION_ENTITIES_MORE_CONSTRAINTS;
|
||||
return VERSION_ENTITIES_BULLET_DYNAMICS;
|
||||
case PacketType::EntityQuery:
|
||||
return static_cast<PacketVersion>(EntityQueryPacketVersion::JSONFilterWithFamilyTree);
|
||||
case PacketType::AvatarIdentity:
|
||||
|
|
|
@ -208,8 +208,7 @@ const PacketVersion VERSION_ENTITIES_SERVER_SCRIPTS = 66;
|
|||
const PacketVersion VERSION_ENTITIES_PHYSICS_PACKET = 67;
|
||||
const PacketVersion VERSION_ENTITIES_ZONE_FILTERS = 68;
|
||||
const PacketVersion VERSION_ENTITIES_HINGE_CONSTRAINT = 69;
|
||||
const PacketVersion VERSION_ENTITIES_SLIDER_CONSTRAINT = 70;
|
||||
const PacketVersion VERSION_ENTITIES_MORE_CONSTRAINTS = 71;
|
||||
const PacketVersion VERSION_ENTITIES_BULLET_DYNAMICS = 70;
|
||||
|
||||
enum class EntityQueryPacketVersion: PacketVersion {
|
||||
JSONFilter = 18,
|
||||
|
|
|
@ -293,10 +293,6 @@ QVariantMap ObjectConstraintConeTwist::getArguments() {
|
|||
arguments["softness"] = _softness;
|
||||
arguments["biasFactor"] = _biasFactor;
|
||||
arguments["relaxationFactor"] = _relaxationFactor;
|
||||
|
||||
|
||||
// arguments["linearPosition"] = static_cast<btConeTwistConstraint*>(_constraint)->getLinearPos();
|
||||
// arguments["angularPosition"] = static_cast<btConeTwistConstraint*>(_constraint)->getAngularPos();
|
||||
}
|
||||
});
|
||||
return arguments;
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
//
|
||||
// dynamics-tests-interface.js
|
||||
// scripts/developer/tests/dynamics/
|
||||
//
|
||||
// Created by Seth Alves 2017-4-30
|
||||
// Copyright 2017 High Fidelity, Inc.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
|
||||
"use strict";
|
||||
/* globals $, EventBridge */
|
||||
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
//
|
||||
// dynamicsTests.js
|
||||
// scripts/developer/tests/dynamics/
|
||||
//
|
||||
// Created by Seth Alves 2017-4-30
|
||||
// Copyright 2017 High Fidelity, Inc.
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
//
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
Loading…
Reference in a new issue