Skip to content

Instantly share code, notes, and snippets.

@minetoblend
minetoblend / exporter.py
Created October 15, 2021 20:38
Blender animation to java keyframes exporter
import bpy
obj = bpy.context.object
action = obj.animation_data.action
fcurve = action.fcurves[0]
print("Timeline.floatTimeline()")
for idx, current in enumerate(fcurve.keyframe_points) :
@minetoblend
minetoblend / input.scss
Created November 26, 2020 13:31
Generated by SassMeister.com.
@for $i from 1 through 6 {
>.grid-row-#{$i} {
grid-row-start: $i;
-ms-grid-row: $i;
-ms-grid-row-span: 1;
}
}
@minetoblend
minetoblend / input.scss
Created November 26, 2020 13:27
Generated by SassMeister.com.
@for $i from 1 through 6 {
>.grid-row-#{$i} {
grid-row-start: $i;
-ms-grid-row: $i;
-ms-grid-row-span: 1;
}
}
#pragma once
#include "Window.h"
#include "GLFW/glfw3.h"
#include <mutex>
#include "WindowManager.h"
#define synchronized(m) \
for(std::unique_lock<std::recursive_mutex> lk(m); lk; lk.unlock())