From 9cbd9e554f9956b3b945b51602f1d4a3fa0353e1 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 목, 08 7월 2021 17:24:24 +0900 Subject: [PATCH] Ongoing60 #3486 CF AOI Review Review History 프로그램 테스트 및 적용 --- ReviewHistory/include/akSTL/새 폴더/akRandom.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git "a/ReviewHistory/include/akSTL/\354\203\210 \355\217\264\353\215\224/akRandom.h" "b/ReviewHistory/include/akSTL/\354\203\210 \355\217\264\353\215\224/akRandom.h" new file mode 100644 index 0000000..15d8119 --- /dev/null +++ "b/ReviewHistory/include/akSTL/\354\203\210 \355\217\264\353\215\224/akRandom.h" @@ -0,0 +1,23 @@ +#pragma once + +#include "akLinker.h" + +namespace akSTL +{ +//#define GetRandom( min, max ) ((rand() % (int)(((max)+1) - (min))) + (min)) + + class akSTL_DLLSPEC CakRandom + { + public: + CakRandom(void); + ~CakRandom(void); + + //정규분포, Normal, 가우시안... (다 같은말) + double Gaussian(float stddev, float mean); //stddev:평균, mean:표준편차 + + static int GetRandom(int min, int max); + + private: + static int ms_randomseed; + }; +} \ No newline at end of file -- Gitblit v1.9.3