From 703e3263224ba75b578253425e0329b517c81765 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 27 Mar 2021 22:23:02 +0100 Subject: [PATCH] Removed leftover comment. --- 02_math_osztaly/math.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/02_math_osztaly/math.cpp b/02_math_osztaly/math.cpp index 22a219a..03106a3 100644 --- a/02_math_osztaly/math.cpp +++ b/02_math_osztaly/math.cpp @@ -70,21 +70,3 @@ float Math::rand(const float from, const float to) { float Math::rand(const double from, const double to) { return randd() * (to - from) + from; } - -/* - - -| + is_equal_approx(float a, float b) : bool { } | -> mint vektorban -| + is_zero_approx(float a) : bool { } | -| | -| + seed(unsigned int s) { } | -> srand(s); -| + randomize() { } | -> srand(time(NULL)); -| | -| + rand() : int { } | -> return rand(); -| + randf() : float { } | -> return rand() / RANDOM_32BIT_MAX; -| + randd() : float { } | -> return rand() / RANDOM_32BIT_MAX; -| | -| + rand(float from, float to) : float { } | -> return randf() * to + from; -| + rand(double from, double to) : double { } | -> return randd() * to + from; -|------------------------------------------------------------| -*/