git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@360 52acb1d6-8a22-11de-b505-999d5b087335
32 lines
732 B
C#
32 lines
732 B
C#
using System;
|
|
using System.Text;
|
|
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
|
|
namespace sceneviewer
|
|
{
|
|
class PrimVisual : GameComponent
|
|
{
|
|
//private World world;
|
|
private float scale;
|
|
|
|
// effects and shaders
|
|
private CompiledEffect compiledEffect;
|
|
private Effect effect;
|
|
|
|
// matrices for defining scale, world, and view projection
|
|
private Matrix scaleMatrix;
|
|
private Matrix worldMatrix;
|
|
private Matrix viewProjectionMatrix;
|
|
|
|
public PrimVisual()
|
|
{
|
|
//InitializeComponent();
|
|
|
|
// initialize default values
|
|
scale = 1.0f;
|
|
worldMatrix = Matrix.Identity;
|
|
}
|
|
}
|
|
}
|