mirror of
https://github.com/Nexoniarz/Fry3DX.git
synced 2026-11-03 04:24:26 +00:00
Shapes with live settings, shape editing, knife and hole tools, drawing shapes onto other objects, combining objects (add / subtract / overlap), copies, thickness, painting with stickers and layers, a Layout tab, a Print tab with checks, packed .fry files with autosave, export to GLB, glTF, FBX, OBJ, 3MF, STL and PLY, folders in Layers, its own crash screen, and a website for GitHub Pages in docs/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NMSrd5oe1GpUD7E6d825KP
21 lines
629 B
C++
21 lines
629 B
C++
#pragma once
|
|
// What machine this is (the debug overlay's corner, crash reports): the OS, the CPU, memory.
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
namespace keel::sys {
|
|
|
|
struct Machine {
|
|
std::string os; // "NixOS 25.11 (Linux 6.18.54)", "Windows 11 (build 26100)"
|
|
std::string cpu; // "AMD Ryzen 7 5700G with Radeon Graphics"
|
|
int threads = 0;
|
|
};
|
|
const Machine& machine(); // (worked out once)
|
|
|
|
struct Memory {
|
|
uint64_t total = 0, used = 0; // the whole machine's RAM (used: not available to programs)
|
|
uint64_t ours = 0; // this process's resident memory
|
|
};
|
|
Memory memory();
|
|
|
|
} // namespace keel::sys
|