From 7a63538fb9dadfe6bcb4bdd7da82dad2c7f4ddea Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 2 Jul 2016 10:44:40 +0100 Subject: [PATCH] Removed inappropriate use of Vec3us in osgAnimation as this relies upon nonexistant functionality in Vec3us and in general just doesn't make sense to attempt to use float point maths with a unsigned short. --- include/osgAnimation/Channel | 2 -- include/osgAnimation/Interpolator | 2 -- include/osgAnimation/Sampler | 2 -- 3 files changed, 6 deletions(-) diff --git a/include/osgAnimation/Channel b/include/osgAnimation/Channel index 5ed868204..d2f3d63de 100644 --- a/include/osgAnimation/Channel +++ b/include/osgAnimation/Channel @@ -178,10 +178,8 @@ namespace osgAnimation typedef TemplateChannel FloatLinearChannel; typedef TemplateChannel Vec2LinearChannel; typedef TemplateChannel Vec3LinearChannel; - typedef TemplateChannel Vec3usLinearChannel; // quantized Vec3LinearChannel typedef TemplateChannel Vec4LinearChannel; typedef TemplateChannel QuatSphericalLinearChannel; - typedef TemplateChannel Vec3usSphericalLinearChannel; // quantized QuatSphericalLinearChannel typedef TemplateChannel MatrixLinearChannel; typedef TemplateChannel FloatCubicBezierChannel; diff --git a/include/osgAnimation/Interpolator b/include/osgAnimation/Interpolator index bf4f1cd29..28c9b789f 100644 --- a/include/osgAnimation/Interpolator +++ b/include/osgAnimation/Interpolator @@ -221,11 +221,9 @@ namespace osgAnimation typedef TemplateLinearInterpolator FloatLinearInterpolator; typedef TemplateLinearInterpolator Vec2LinearInterpolator; typedef TemplateLinearInterpolator Vec3LinearInterpolator; - typedef TemplateLinearInterpolator Vec3usLinearInterpolator; typedef TemplateLinearInterpolator Vec3PackedLinearInterpolator; typedef TemplateLinearInterpolator Vec4LinearInterpolator; typedef TemplateSphericalLinearInterpolator QuatSphericalLinearInterpolator; - typedef TemplateSphericalLinearInterpolator Vec3usSphericalLinearInterpolator; typedef TemplateLinearInterpolator MatrixLinearInterpolator; typedef TemplateCubicBezierInterpolator FloatCubicBezierInterpolator; diff --git a/include/osgAnimation/Sampler b/include/osgAnimation/Sampler index 53be9407e..26730c880 100644 --- a/include/osgAnimation/Sampler +++ b/include/osgAnimation/Sampler @@ -123,10 +123,8 @@ namespace osgAnimation typedef TemplateSampler FloatLinearSampler; typedef TemplateSampler Vec2LinearSampler; typedef TemplateSampler Vec3LinearSampler; - typedef TemplateSampler Vec3usLinearSampler; typedef TemplateSampler Vec4LinearSampler; typedef TemplateSampler QuatSphericalLinearSampler; - typedef TemplateSampler Vec3usSphericalLinearSampler; typedef TemplateSampler MatrixLinearSampler; typedef TemplateSampler FloatCubicBezierSampler;