Skip to content

Instantly share code, notes, and snippets.

View Frooxius's full-sized avatar

Tomas Mariancik Frooxius

View GitHub Profile
[NodeName("+")]
[NodeOverload("Add")]
[Category("LogiX/Operators")]
public class Add_Float : DualInputOperator<float>
{
public readonly Input<float> A;
public readonly Input<float> B;
public override float Content { get { return A.EvaluateRaw() + B.EvaluateRaw(); } }
@Frooxius
Frooxius / PenTip.cs
Created June 5, 2018 07:04
PenTip Source
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BaseX;
namespace FrooxEngine
{
[Category("Tools/Tooltips")]
public class PenTip : ToolTip
@Frooxius
Frooxius / SunMover.cs
Created June 5, 2018 07:22
SunMover Tooltip
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BaseX;
namespace FrooxEngine
{
[Category("Tools/Tooltips")]
public class SunMover : ToolTip
@Frooxius
Frooxius / VirtualKey.cs
Created June 5, 2018 08:47
Virtual Keyboard
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FrooxEngine.UI;
namespace FrooxEngine
{
public class VirtualKey : Component, IButtonReceiver
{
@Frooxius
Frooxius / ImageColorDistributionGraph.cs
Created June 5, 2018 08:49
Image Color Distribution Graph (procedural point cloud generator)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BaseX;
namespace FrooxEngine
{
[Category("Assets/Procedural Meshes")]
@Frooxius
Frooxius / NoiseTexture.cs
Created June 5, 2018 08:51
Procedural Noise Texture
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BaseX;
namespace FrooxEngine
{
[Category("Assets/Procedural Textures")]
public class NoiseTexture : ProceduralTexture
@Frooxius
Frooxius / SimplexTexture.cs
Created June 5, 2018 08:52
Procedural Simplex Noise Texture
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BaseX;
namespace FrooxEngine
{
[Category("Assets/Procedural Textures")]
public class SimplexTexture : ProceduralTexture
@Frooxius
Frooxius / VideoPlayer.cs
Created June 5, 2018 08:54
Video Player UI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BaseX;
namespace FrooxEngine
{
[Category("Media/Players")]
public class VideoPlayer : Component, IMaterialSource, IMaterialApplyPolicy, IPlayable
@Frooxius
Frooxius / AssetCleanup.cs
Created June 7, 2018 09:10
Asset Cleanup
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FrooxEngine
{
public static partial class WorldOptimizer
{
@Frooxius
Frooxius / BrushTip.cs
Created June 30, 2018 20:33
Neos Brush System
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BaseX;
namespace FrooxEngine
{
public abstract class BrushTip : ToolTip