This file contains hidden or 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
| // The MIT License | |
| // Copyright © 2018 Inigo Quilez | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOF |
This file contains hidden or 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
| uniform int outerIter< | |
| string label = "Outer Iterations"; | |
| string widget_type = "slider"; | |
| int minimum = 0; | |
| int maximum = 20; | |
| int step = 1; | |
| > = 6; | |
| uniform int innerIter< | |
| string label = "Inter Iteration"; |
This file contains hidden or 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
| uniform float audio_magnitude; | |
| uniform float threshold< | |
| string label = "Activation Threshold"; | |
| string widget_type = "slider"; | |
| float minimum = 0.0; | |
| float maximum = 1.0; | |
| float step = 0.01; | |
| > = 0.1; |
This file contains hidden or 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
| uniform float audio_magnitude; | |
| uniform float amount< | |
| string label = "Maximum Squish Height"; | |
| string widget_type = "slider"; | |
| float minimum = 0.0; | |
| float maximum = 1.0; | |
| float step = 0.01; | |
| > = 0.4; |
This file contains hidden or 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 "BlueprintLibraryLD.h" | |
| #include "Algo/LevenshteinDistance.h" | |
| int32 UBlueprintLibraryLD::LevenshteinDistance(const FString& A, const FString& B) | |
| { | |
| return Algo::LevenshteinDistance(A, B); | |
| } |
This file contains hidden or 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
| #pragma once | |
| #include "CoreMinimal.h" | |
| #include "Kismet/BlueprintFunctionLibrary.h" | |
| #include "BlueprintLibraryLD.generated.h" | |
| UCLASS() | |
| class YOURPROJECT_API UBlueprintLibraryLD : public UBlueprintFunctionLibrary | |
| { | |
| GENERATED_BODY() |
This file contains hidden or 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; | |
| using System.Collections.Generic; | |
| public class CPHInline | |
| { | |
| // parses a CSV line where elements may be wrapped in double quotes | |
| public string[] parse_csv( string line ) | |
| { | |
| string comma = ","; | |
| string quote = "\""; |
This file contains hidden or 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
| // Hue Rotation shader, version 1.heck.jr for OBS Shaderfilter | |
| // Copyright ©️ 2023 by SkeletonBow | |
| // Modified by Lokno | |
| // License: GNU General Public License, version 2 | |
| // | |
| // Contact info: | |
| // Twitter: <https://twitter.com/skeletonbowtv> | |
| // Twitch: <https://twitch.tv/skeletonbowtv> | |
| // YouTube: <https://youtube.com/@skeletonbow> | |
| // Soundcloud: <https://soundcloud.com/skeletonbowtv> |
This file contains hidden or 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
| // Replace environment variables identified by a prefix and postfix string with their corresponding values | |
| // Returns a new modified string or the original string if it encounters incorrect formatted input | |
| static std::string ResolveEnvVars(const std::string& str, const std::string prefix, const std::string postfix) | |
| { | |
| size_t p = 0; | |
| size_t a = std::string::npos; | |
| size_t b = std::string::npos; | |
| std::string outstr = str; | |
| bool found = true; | |
| bool error = false; |
This file contains hidden or 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
| byte id = 25; | |
| int temp; | |
| Console.WriteLine($"Loop Start!"); | |
| //for(byte i = (byte)(id+1); i <= byte.MaxValue; i++ ) // infinite loop | |
| for(byte i = (byte)(id+1); i != id; i++ ) | |
| { | |
| Console.WriteLine($"i: {i}"); |
NewerOlder