summaryrefslogtreecommitdiff
path: root/modules/csg/csg_shape.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-08-10 07:41:46 +0200
committerGitHub <noreply@github.com>2021-08-10 07:41:46 +0200
commit536950f9f35f48633c6c2c57ae2473bb906221d2 (patch)
tree659cb6a83ab8f4d76ae3b11486987c51825a849e /modules/csg/csg_shape.h
parentf3ddc14d3829ed09d6eab81811bcfb1314626ddf (diff)
parent430ad75963a0e6837ef460e78fb99565714b4418 (diff)
Merge pull request #21922 from aaronfranke/double
Some work on double-precision support
Diffstat (limited to 'modules/csg/csg_shape.h')
-rw-r--r--modules/csg/csg_shape.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/csg/csg_shape.h b/modules/csg/csg_shape.h
index de7de09f00..0106f230eb 100644
--- a/modules/csg/csg_shape.h
+++ b/modules/csg/csg_shape.h
@@ -83,14 +83,14 @@ private:
Vector<Vector3> vertices;
Vector<Vector3> normals;
Vector<Vector2> uvs;
- Vector<float> tans;
+ Vector<real_t> tans;
Ref<Material> material;
int last_added = 0;
Vector3 *verticesw = nullptr;
Vector3 *normalsw = nullptr;
Vector2 *uvsw = nullptr;
- float *tansw = nullptr;
+ real_t *tansw = nullptr;
};
//mikktspace callbacks