diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-21 18:30:16 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-10-21 18:30:16 +0100 |
commit | 56100b1c4cb02db7608763dddd77f8052a533dae (patch) | |
tree | ea8322a78134e1eb9ecca3e34672313cb5740ad5 /assetFactory/cylinder.cpp | |
parent | Randomise for many trees, positions, rotations (diff) | |
download | ilt-56100b1c4cb02db7608763dddd77f8052a533dae.tar.bz2 ilt-56100b1c4cb02db7608763dddd77f8052a533dae.tar.xz ilt-56100b1c4cb02db7608763dddd77f8052a533dae.zip |
Further template maths functions
Diffstat (limited to 'assetFactory/cylinder.cpp')
-rw-r--r-- | assetFactory/cylinder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/cylinder.cpp b/assetFactory/cylinder.cpp index f41bfd4..432fb16 100644 --- a/assetFactory/cylinder.cpp +++ b/assetFactory/cylinder.cpp @@ -12,7 +12,7 @@ Cylinder::createMesh(ModelFactoryMesh & mesh, Scale3D lodf) const // Generate 2D circumference points std::vector<RelativePosition2D> circumference(P); std::generate(circumference.begin(), circumference.end(), [a = 0.F, step]() mutable { - return sincosf(a += step) * .5F; + return sincos(a += step) * .5F; }); CreatedFaces surface; |