* Helpers.GetResourceStream() now uses the executable directory + openmetaverse_data as the path for finding resources instead of current directory + openmetaverse_data
* Added add, subtract, multiply operators to Color4 * Switched baking to use Color4 instead of System.Drawing.Color * Untested implementation of multiply and add color operations in baking git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3077 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -8,7 +8,7 @@ namespace OpenMetaverse
|
||||
/// </summary>
|
||||
public enum VisualColorOperation
|
||||
{
|
||||
None,
|
||||
Add,
|
||||
Blend,
|
||||
Multiply
|
||||
}
|
||||
@@ -19,14 +19,14 @@ namespace OpenMetaverse
|
||||
public struct VisualColorParam
|
||||
{
|
||||
public VisualColorOperation Operation;
|
||||
public System.Drawing.Color[] Colors;
|
||||
public Color4[] Colors;
|
||||
|
||||
/// <summary>
|
||||
/// Construct VisualColorParam
|
||||
/// </summary>
|
||||
/// <param name="operation">Operation to apply when applying color to texture</param>
|
||||
/// <param name="colors">Colors</param>
|
||||
public VisualColorParam(VisualColorOperation operation, System.Drawing.Color[] colors)
|
||||
public VisualColorParam(VisualColorOperation operation, Color4[] colors)
|
||||
{
|
||||
Operation = operation;
|
||||
Colors = colors;
|
||||
|
||||
Reference in New Issue
Block a user