From 57017298e6dd58cd410718cdf5db70e05aaa6b64 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 2 Mar 2016 20:57:21 -0800 Subject: [PATCH 1/2] Fix broken rotation --- Runtime/Particle/CElementGen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/Particle/CElementGen.cpp b/Runtime/Particle/CElementGen.cpp index 652d7a804..c8eb71c47 100644 --- a/Runtime/Particle/CElementGen.cpp +++ b/Runtime/Particle/CElementGen.cpp @@ -1701,7 +1701,7 @@ void CElementGen::RenderParticles() { float theta = particle.x30_lineWidthOrRota * M_PI / 180.f; float sinT = sinf(theta) * size; - float cosT = sinf(theta) * size; + float cosT = cosf(theta) * size; switch (m_shaderClass) { @@ -1836,7 +1836,7 @@ void CElementGen::RenderParticles() { float theta = particle.x30_lineWidthOrRota * M_PI / 180.f; float sinT = sinf(theta) * size; - float cosT = sinf(theta) * size; + float cosT = cosf(theta) * size; for (int i=0 ; i Date: Fri, 4 Mar 2016 09:25:39 -1000 Subject: [PATCH 2/2] Submodule refactor --- .gitmodules | 12 ++++++------ NODLib | 1 - hecl | 2 +- libSpecter | 1 - nod | 1 + specter | 1 + 6 files changed, 9 insertions(+), 9 deletions(-) delete mode 160000 NODLib delete mode 160000 libSpecter create mode 160000 nod create mode 160000 specter diff --git a/.gitmodules b/.gitmodules index cef347526..b0a9a7e55 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,9 @@ -[submodule "NODLib"] - path = NODLib - url = https://github.com/AxioDL/NODLib.git [submodule "hecl"] path = hecl url = https://github.com/AxioDL/hecl.git -[submodule "libSpecter"] - path = libSpecter - url = https://github.com/AxioDL/libSpecter.git +[submodule "specter"] + path = specter + url = https://github.com/AxioDL/specter.git +[submodule "nod"] + path = nod + url = https://github.com/AxioDL/nod.git diff --git a/NODLib b/NODLib deleted file mode 160000 index 4adfa71c2..000000000 --- a/NODLib +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4adfa71c2f2cfed5709ae77a536ffcd927ee7e2e diff --git a/hecl b/hecl index d7ba6810a..6158f4410 160000 --- a/hecl +++ b/hecl @@ -1 +1 @@ -Subproject commit d7ba6810af60bccd41d42d1c06112c2f414b3f98 +Subproject commit 6158f44103efec1372f0a98d5c6268ff528f52ac diff --git a/libSpecter b/libSpecter deleted file mode 160000 index c34050a3b..000000000 --- a/libSpecter +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c34050a3bb9a5c55cb26636d75e7d820d589e6a3 diff --git a/nod b/nod new file mode 160000 index 000000000..7320b76ff --- /dev/null +++ b/nod @@ -0,0 +1 @@ +Subproject commit 7320b76ff45b74c1f25b53bfe78255c178168da0 diff --git a/specter b/specter new file mode 160000 index 000000000..cfb3cd8c7 --- /dev/null +++ b/specter @@ -0,0 +1 @@ +Subproject commit cfb3cd8c74d0fb0fbc9c37a523b96fd5d2791db4