mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
some more bugfixes and speedups
This commit is contained in:
parent
310be0760d
commit
3cb5d47e5b
4 changed files with 3 additions and 6 deletions
|
|
@ -36,9 +36,6 @@ class CameraController extends Object {
|
|||
var marble:Marble;
|
||||
var level:MarbleWorld;
|
||||
|
||||
var view:Matrix;
|
||||
var projection:Matrix;
|
||||
|
||||
public var Position:Vector;
|
||||
public var Direction:Vector;
|
||||
public var Up:Vector;
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ class Mission {
|
|||
if (StringTools.contains(rawElementPath, "$usermods")) {
|
||||
rawElementPath = rawElementPath.split("@").slice(1).map(x -> {
|
||||
var a = StringTools.trim(x);
|
||||
a = a.substr(1, a.length - 2);
|
||||
a = Util.unescape(a.substr(1, a.length - 2));
|
||||
return a;
|
||||
}).join('');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ class MissionList {
|
|||
beginnerMissions = parseDifficulty("beginner");
|
||||
intermediateMissions = parseDifficulty("intermediate");
|
||||
advancedMissions = parseDifficulty("advanced");
|
||||
customMissions = parseDifficulty("custom");
|
||||
customMissions = parseDifficulty("expert");
|
||||
|
||||
// parseCLAList();
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class CollisionEntity implements IOctreeObject {
|
|||
}
|
||||
|
||||
public function setTransform(transform:Matrix) {
|
||||
if (this.transform == transform)
|
||||
if (this.transform.equal(transform))
|
||||
return;
|
||||
this.transform.load(transform);
|
||||
this.invTransform = transform.getInverse();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue