This file contains 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
using System.Collections.Generic; | |
using UnityEngine; | |
namespace VertexFragment | |
{ | |
/// <summary> | |
/// Generates a list of voxel points for a given collider. | |
/// </summary> | |
public static class VoxelGenerator | |
{ |
This file contains 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
import bpy | |
op = bpy.context.active_operator | |
# Save to: | |
# C:\Program Files\Blender Foundation\Blender {version}\{version}\scripts\presets\operator\export_scene.fbx\ | |
# Example: | |
# C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\presets\operator\export_scene.fbx\UnityFbxExport.py | |
op.use_selection = True | |
op.use_active_collection = False |
This file contains 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
_TrackMouseEvent | |
AbnormalTermination | |
AbortDoc | |
AbortPath | |
AbortPrinter | |
AbortProc | |
AbortSystemShutdown | |
AccessNtmsLibraryDoor | |
AcquireSRWLockExclusive | |
AcquireSRWLockShared |
This file contains 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
#include <string> | |
#include <sstream> | |
#include <iostream> | |
enum LogLevel | |
{ | |
Info = 0, | |
Debug, | |
Warning, | |
Error |
This file contains 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
using Unity.Mathematics; | |
using Unity.Rendering; | |
using UnityEngine; | |
namespace Realms | |
{ | |
/// <summary> | |
/// Based on Unity.Rendering.FrustumPlanes since those aren't public for some reason. | |
/// </summary> | |
public struct FrustumPlanes |