Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
無限大について全力で考えてみる
void Start(){
CheckMathfInfinity();
}
void CheckMathfInfinity(){
if (Mathf.Infinity == float.PositiveInfinity){
Debug.Log("Mathf.Infinityはfloatの正の無限大と完全に一致");
}
if (Mathf.NegativeInfinity == float.NegativeInfinity){
Debug.Log("Mathf.NegativeInfinityはfloatの負の無限大と完全に一致");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.