Skip to content

Instantly share code, notes, and snippets.

View trojanfoe's full-sized avatar

Andy Duplain trojanfoe

  • Wickham, Hampshire, UK.
View GitHub Profile
using System;
using System.Collections.Generic;
public class GameEvent
{
}
public class EventMessenger
{
#include <windows.h>
#include "winrt/Windows.ApplicationModel.Core.h"
#include "winrt/Windows.UI.Core.h"
using namespace winrt;
using namespace Windows::ApplicationModel::Core;
using namespace Windows::UI::Core;
struct App : implements<App, IFrameworkViewSource, IFrameworkView>
{
shader_type particles;
//render_mode disable_velocity,disable_force,keep_data;
uniform sampler2D map;
uniform float map_mipmap=2.0;
uniform vec2 collider_position;
uniform float collider_radius;
uniform float particle_radius;
uniform float sample_range=5.0;
uniform float sample_step=1.0;