Rename VoxelPreview to ModelPreview.

This commit is contained in:
Paul Chote
2017-06-09 08:25:21 +00:00
committed by reaperrr
parent 736e70df78
commit 6ca0208694
3 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ using OpenRA.Graphics;
namespace OpenRA.Mods.Common.Graphics
{
public class VoxelPreview : IActorPreview
public class ModelPreview : IActorPreview
{
readonly ModelAnimation[] components;
readonly float scale;
@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.Graphics
readonly WVec offset;
readonly int zOffset;
public VoxelPreview(ModelAnimation[] components, WVec offset, int zOffset, float scale, WAngle lightPitch, WAngle lightYaw,
public ModelPreview(ModelAnimation[] components, WVec offset, int zOffset, float scale, WAngle lightPitch, WAngle lightYaw,
float[] lightAmbientColor, float[] lightDiffuseColor, WAngle cameraPitch,
PaletteReference colorPalette, PaletteReference normalsPalette, PaletteReference shadowPalette)
{