Implicit conversion is fixed.

Signed-off-by: Stanislav Demyanovich <stan@angrybubo.com>
3.1415926 is replaced with M_PI constant.

Signed-off-by: Stanislav Demyanovich <stan@angrybubo.com>
Excrescent test is removed.

Signed-off-by: Stanislav Demyanovich <stan@angrybubo.com>
Bug (missing format argument in sprintf_s function) is fixed.
Minor: implicit conversions, missed test are fixed.

Signed-off-by: Stanislav Demyanovich <stan@angrybubo.com>
Minor.

Signed-off-by: Stanislav Demyanovich <stan@angrybubo.com>