Skip to content

Instantly share code, notes, and snippets.

View GuvaCode's full-sized avatar

Gunko Vadim GuvaCode

View GitHub Profile
@GuvaCode
GuvaCode / collision_3d.odin
Created August 22, 2023 17:39 — forked from jakubtomsu/collision_3d.odin
Simple raylib example of 3d FPS player movement with triangle collision
package main
import "core:fmt"
import "core:math"
import "core:math/linalg"
import rl "vendor:raylib"
main :: proc() {
rl.SetConfigFlags({.VSYNC_HINT, .WINDOW_RESIZABLE, .MSAA_4X_HINT})
rl.InitWindow(800, 600, "collision")
@GuvaCode
GuvaCode / collision.pas
Last active March 29, 2023 07:18
Free pascal Oriented bounding box collisions for RayLib
//
// Oriented bounding box collisions
//
// 2023, Original code in c langauge by Jonathan Tainer
// 2023, Pascal translation Vadim Gunko and Jarrod Davis
//
unit collider;
{$mode ObjFPC}{$H+}
@GuvaCode
GuvaCode / Commands
Created December 2, 2020 20:47 — forked from FZX/Commands
Terminal commands. Change Cinnamon theme from terminal. Disable cursor blink from terminal. Disabling recent files history from terminal. Setup proxy file with command.
gsettings set org.cinnamon.desktop.privacy remember-recent-files false
gsettings set org.cinnamon.theme name "Mint-Y-Dark"
gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y-Dark"
gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Dark"
gsettings set org.cinnamon.desktop.interface cursor-blink false
gsettings set org.gnome.system.proxy autoconfig-url "http://mediahint.com/default.pac"
gsettings set org.gnome.system.proxy mode auto
gsettings set org.cinnamon enabled-applets "['panel1:left:0:[email protected]:0', 'panel1:left:2:[email protected]:2', 'panel1:left:3:[email protected]:3', 'panel1:right:0:[email protected]:4', 'panel1:right:1:[email protected]:5', 'panel1:right:2:[email protected]:6', 'panel1:right:3:[email protected]:7', 'panel1:right:11:[email protected]:1', 'panel1:right:5:[email protected]:9', 'panel1:right:6:[email protected]:10', 'panel1:right:7:[email protected]:11', 'panel1:right:8:[email protected]:12', '