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
local RunService = game:GetService("RunService"); | |
local Effects = Instance.new("Folder"); | |
Effects.Name = "Effects"; | |
Effects.Parent = workspace; | |
--[[ | |
this is ap ool | |
assumes that everything inserted | |
has the same lifetime | |
if not then ur gonna make ap riority queue LOL[tweaker shit cuh]! |
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
var octantVecs = [ | |
[-1, -1, -1], | |
[-1, -1, 1], | |
[-1, 1, -1], | |
[-1, 1, 1], | |
[1, -1, -1], | |
[1, -1, 1], | |
[1, 1, -1], | |
[1, 1, 1] | |
]; |
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
--[[ | |
This mesher only handles 16x16x16 chunks! | |
Uses a more optimal approach towards creating | |
chunks. Checks plane intersections of the chunk | |
for greedy meshing. | |
This type of plane-intersection greedy meshing is | |
useful for fixing certain problems w/ voxel based | |
greedy meshing, where transparent objects may be | |
see through. |
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
local API_DUMP_URL = "https://raw.githubusercontent.com/MaximumADHD/Roblox-Client-Tracker/roblox/API-Dump.txt"; | |
local HttpService = game:GetService("HttpService"); | |
local Reflection = {}; | |
Reflection.__index = Reflection; | |
local function reflQuery(name) | |
return function(self, className) | |
local root = className; | |
local output = {}; |
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
-- Average stack based JSON parser i guess | |
local function map(str) | |
local out = {}; | |
for word in str:gmatch('.') do | |
out[word] = true; | |
end | |
return out; | |
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
local function pprintHelper(buff, value, depth, mem) | |
-- >_> | |
local t = type(value); | |
if(t == "string")then | |
-- String | |
table.insert(buff, '"'); | |
table.insert(buff, value); | |
return table.insert(buff, '"'); | |
elseif(t == "number")then | |
-- Number |
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
-- poopbarrel/magical_noob | |
-- @submodule quakec | |
-- @description another quake movement reimplementation ig | |
-- Physics | |
local XZ = Vector3.new(1.0, 0.0, 1.0); | |
local CAPSULE_FLOOR_ANGLE = 0.7; | |
-- Convars | |
local PL_HITBOX_SIZE = Vector3.new(4, 6, 4); |