This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "AWidgetHUD.h" | |
#include "Blueprint/UserWidget.h" | |
AWidgetHUD::AWidgetHUD() | |
{ | |
} | |
void AWidgetHUD::BeginPlay() | |
{ | |
Super::BeginPlay(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace MatrixMultiplication | |
{ | |
/// <summary> | |
/// Multiplies matrices together using 2d arrays | |
/// Uses a method to easily send a "thread index" which represents the position in the Z matrix. | |
/// </summary> | |
class MatrixMultiplication | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Kismet\KismetSystemLibrary.h" | |
// Set what actors to seek out from it's collision channel | |
TArray<TEnumAsByte<EObjectTypeQuery>> traceObjectTypes; | |
traceObjectTypes.Add(UEngineTypes::ConvertToObjectType(ECollisionChannel::ECC_Pawn)); | |
// Ignore any specific actors | |
TArray<AActor*> ignoreActors; | |
// Ignore self or remove this line to not ignore any | |
ignoreActors.Init(this, 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "UE4_FSM_Structure.h" | |
// Sets default values | |
AUE4_FSM_Structure::AUE4_FSM_Structure() | |
{ | |
PrimaryActorTick.bCanEverTick = true; | |
} | |
// Called when the game starts or when spawned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Firebase Database Backup | |
# Created by @JoshLmao | |
# | |
# Description: On Firebase, you're allowed to Import and Export JSON into a real time database. If for some reason that database is breached | |
# without being a paid user of Firebase, you are at risk of losing a lot of data. Firebase doesn't allow user's to access the root of their database through | |
# the WebAPI, however you can access each child object at the url "https://[PROJECT-ID].firebaseio.com/[PATH-TO-CHILD].json" | |
# | |
# How to Use: Simply add each child from the master and it's url to the 'endpointsDict' in main(). For example, If your database had... | |
# -> MyDatabase | |
# -> Users |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Josh Shepherd - 1700471 | |
* Microphone Temperature Controller & LED Display | |
* | |
* Purpose: | |
* Monitors the current temperature and opens a window connected | |
* to a servo if it gets too hot. Can also display warm or cold color | |
* on LED. | |
* Microphone monitors for sound and changes to red LED and closes the window | |
* if the volume hits maximum (User shouts to close window). | |
* Will remain closed for 30 minutes and opens if temperture is too hot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Original by Najad on Hackster.io | |
* https://www.hackster.io/najad/reactive-sound-color-changing-cube-fdf705 | |
* | |
* Altered by JoshLmao | |
* https://joshlmao.com | |
*/ | |
#include "FastLED.h" | |
#define NUM_LEDS 10 | |
#define DATA_PIN 5 |