Refactor Vector types to support 64-bit precision via define switch

This commit is contained in:
Wojtek Figat
2022-05-25 20:04:33 +02:00
parent 1303740611
commit f82e370392
55 changed files with 2264 additions and 5482 deletions

View File

@@ -31,7 +31,7 @@ namespace CSG
Surface()
: Plane()
, TexCoordScale(1)
, TexCoordOffset(0)
, TexCoordOffset(0.0f)
, TexCoordRotation(0)
, ScaleInLightmap(1)
{
@@ -41,7 +41,7 @@ namespace CSG
: Plane(plane)
, Material(Guid::Empty)
, TexCoordScale(1)
, TexCoordOffset(0)
, TexCoordOffset(0.0f)
, TexCoordRotation(0)
, ScaleInLightmap(1)
{
@@ -51,7 +51,7 @@ namespace CSG
: Plane(plane)
, Material(plane.Material)
, TexCoordScale(1)
, TexCoordOffset(0)
, TexCoordOffset(0.0f)
, TexCoordRotation(0)
, ScaleInLightmap(1)
{
@@ -61,7 +61,7 @@ namespace CSG
: Plane(normal, d)
, Material(Guid::Empty)
, TexCoordScale(1)
, TexCoordOffset(0)
, TexCoordOffset(0.0f)
, TexCoordRotation(0)
, ScaleInLightmap(1)
{
@@ -71,7 +71,7 @@ namespace CSG
: Plane(point1, point2, point3)
, Material(Guid::Empty)
, TexCoordScale(1)
, TexCoordOffset(0)
, TexCoordOffset(0.0f)
, TexCoordRotation(0)
, ScaleInLightmap(1)
{