Skip to content

Instantly share code, notes, and snippets.

View Alpha255's full-sized avatar
So sad

Alpha255

So sad
View GitHub Profile
@Alpha255
Alpha255 / gist:9aa8aedbcf4512db1d5d6b2e967ebff6
Created October 9, 2024 11:29
Blender Icon Font Generate
class FontBlender( Font ): # Pictogrammers Material Design Icons
font_name = 'Blender Icons'
font_abbr = 'BLENDER'
font_data_prefix = '.icon-'
font_data = 'C:/Users/lilithgames.LLS-20240418CQX/Downloads/icomoon (1)/style.css'
ttfs = [[ font_abbr, 'icomoon.ttf', 'C:/Users/lilithgames.LLS-20240418CQX/Downloads/icomoon (1)/fonts/icomoon.ttf' ]]
@classmethod
def get_icons( cls, input_data ):
icons_data = {}
HRESULT LoadFromSDKMesh(
const wchar_t* szFilename,
std::unique_ptr<Mesh>& inMesh,
std::vector<Mesh::Material>& inMaterial,
bool ccw,
bool dds)
{
HRESULT hr = S_OK;
std::wstring StrPathW(szFilename);
#include <iostream>
#include <type_traits>
template <typename T>
std::true_type test_is_class_or_union(int T::*);
template <typename T>
std::false_type test_is_class_or_union(...);
template <typename T>