This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class EllipsoidShape extends ConvexInternalShape{ | |
private javax.vecmath.Vector3f HalfExtents; | |
public EllipsoidShape(javax.vecmath.Vector3f HalfExtends){ | |
this.HalfExtents = new javax.vecmath.Vector3f(HalfExtends); | |
this.implicitShapeDimensions.set(this.HalfExtents); | |
} | |
public javax.vecmath.Vector3f getHalfExtents(javax.vecmath.Vector3f out) { | |
out.set(HalfExtents); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class AllRayResultCallback extends CollisionWorld.RayResultCallback { | |
private final javax.vecmath.Vector3f From; | |
private final javax.vecmath.Vector3f To ; | |
public AllRayResultCallback(javax.vecmath.Vector3f From, javax.vecmath.Vector3f To){ this.From = From; this.To = To; } | |
public final List<javax.vecmath.Vector3f> HitPoints = new ArrayList<>(); | |
public final List<javax.vecmath.Vector3f> HitNormals = new ArrayList<>(); | |
public final List<CollisionObject > HitObjects = new ArrayList<>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return function(Func) | |
local Try = {} | |
function Try:Catch(Catcher) | |
local s, e = pcall(Func) | |
if not s then | |
return Catcher(e) | |
end | |
return e | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function(hook){ | |
hook.doneEach(() => { | |
const Page = document.getElementById("main") || document.getElementById("app") || document.body; | |
Array.from(Page.querySelectorAll("script")).forEach(Element => { | |
if(Element.dataset.ScriptExecutionDone){ return; } | |
const ScriptText = (Element.textContent || "").trim(); | |
Element.dataset.ScriptExecutionDone = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<scheme name="Woowz MVS" version="142" parent_scheme="Darcula"> | |
<option name="FONT_SCALE" value="1.0" /> | |
<metaInfo> | |
<property name="ide">idea</property> | |
<property name="ideVersion">2024.2.5.0.0</property> | |
<property name="originalScheme">Woowz MVS</property> | |
</metaInfo> | |
<option name="LINE_SPACING" value="1.2" /> | |
<font> | |
<option name="EDITOR_FONT_NAME" value="JetBrains Mono" /> |