summaryrefslogtreecommitdiffstats
path: root/src/Matrix4.h
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-07-29 18:45:36 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-07-29 18:45:36 +0200
commit735d590abf7f804a4504b70c84a289ba86c5f8e3 (patch)
tree13b603c8bbf8177da92ce87f5413fb646d204f3f /src/Matrix4.h
parentMerge pull request #2376 from mjhanninen/fix-freebsd-build (diff)
parentSilenced and fixed many warning messages across multiple files. (diff)
downloadcuberite-735d590abf7f804a4504b70c84a289ba86c5f8e3.tar
cuberite-735d590abf7f804a4504b70c84a289ba86c5f8e3.tar.gz
cuberite-735d590abf7f804a4504b70c84a289ba86c5f8e3.tar.bz2
cuberite-735d590abf7f804a4504b70c84a289ba86c5f8e3.tar.lz
cuberite-735d590abf7f804a4504b70c84a289ba86c5f8e3.tar.xz
cuberite-735d590abf7f804a4504b70c84a289ba86c5f8e3.tar.zst
cuberite-735d590abf7f804a4504b70c84a289ba86c5f8e3.zip
Diffstat (limited to '')
-rw-r--r--src/Matrix4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Matrix4.h b/src/Matrix4.h
index 0558fa5f3..a5d6017d0 100644
--- a/src/Matrix4.h
+++ b/src/Matrix4.h
@@ -98,8 +98,8 @@ public:
inline void RotateZ(T a_RZ)
{
- T sz = (T) sin(a_RZ * M_PI / 180);
- T cz = (T) cos(a_RZ * M_PI / 180);
+ T sz = static_cast<T>(sin(a_RZ * M_PI / 180));
+ T cz = static_cast<T>(cos(a_RZ * M_PI / 180));
Identity();