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
| /- | |
| Copyright (c) 2024 Ashton Jenson. All rights reserved. | |
| Released under Apache 2.0 license as described in the file LICENSE. | |
| Authors: Ashton Jenson | |
| -/ | |
| import Mathlib.Analysis.SpecialFunctions.Stirling | |
| /-! | |
| # Robbins' Sharp Stepwise Bound for Stirling Sequence |
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
| import Mathlib | |
| open scoped BigOperators | |
| open Filter | |
| open scoped Nat | |
| namespace Real | |
| /- | |
| ============================================================ |
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.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using Sirenix.OdinInspector; | |
| public class MovablePoints : MonoBehaviour | |
| { | |
| public List<Vector2> points = new List<Vector2>(); | |
| public List<int> moveablePoints = new List<int>(); |
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; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using UnityEngine; | |
| using UnityEditor; | |
| using Sirenix.OdinInspector; |
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
| public class UnionPolygonController : SerializedMonoBehaviour | |
| { | |
| public static List<List<Vector2>> UnionPolygon(List<List<Vector2>> uvPolygons) | |
| { | |
| List<List<Vector2>> newPolygons = new List<List<Vector2>>(); | |
| #region Fix Winding Order | |
| for (int i = 0; i < uvPolygons.Count; i++) | |
| { | |
| float sum = new float(); |
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.Linq; | |
| using System.Collections; | |
| using UnityEngine; | |
| using Sirenix.OdinInspector; | |
| public class GizmoBehavior : MonoBehaviour | |
| { | |
| public GameObject target; |
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.Collections.Generic; | |
| using UnityEngine; | |
| public class DistinctRandomColors : MonoBehaviour | |
| { | |
| public Color[] colors; | |
| void RandomColors(int colorCount, out Color[] colors) | |
| { | |
| colors = new Color[colorCount]; |