Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use glm #334

Open
wants to merge 2 commits into
base: 2.4
Choose a base branch
from
Open

Use glm #334

wants to merge 2 commits into from

Conversation

atupone
Copy link
Contributor

@atupone atupone commented Sep 30, 2023

No description provided.

@@ -116,7 +123,7 @@
{
logDebugMessage(0,":");
for (i = 0; i < vertexCount; i++)
logDebugMessage(0," %i", (int)((afvec3*)vertices[i] - mesh->getVertices()));
logDebugMessage(0," %i", vertices[i] - mesh->getVertices());

Check failure

Code scanning / CodeQL

Wrong type of arguments to formatting function High

This format specifier for type 'int' does not match the argument type 'long'.
@@ -150,28 +154,30 @@
{
logDebugMessage(0,":");
for (i = 0; i < vertexCount; i++)
logDebugMessage(0," %i", (int)((afvec3*)vertices[i] - mesh->getVertices()));
logDebugMessage(0," %i", vertices[i] - mesh->getVertices());

Check failure

Code scanning / CodeQL

Wrong type of arguments to formatting function High

This format specifier for type 'int' does not match the argument type 'long'.
if (fabsf(cross + plane[3]) > 1.0e-3)
{
logDebugMessage(1,"non-planar mesh face (%f)", cross + plane[3]);
if ((debugLevel >= 3) && (mesh != NULL))
{
logDebugMessage(0,":");
for (i = 0; i < vertexCount; i++)
logDebugMessage(0," %i", (int)((afvec3*)vertices[i] - mesh->getVertices()));
logDebugMessage(0," %i", vertices[i] - mesh->getVertices());

Check failure

Code scanning / CodeQL

Wrong type of arguments to formatting function High

This format specifier for type 'int' does not match the argument type 'long'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant