mirror of
https://github.com/eliasstepanik/OSCADSharpDotnet7.git
synced 2026-01-11 21:48:34 +00:00
28 lines
651 B
C#
28 lines
651 B
C#
using OSCADSharp.Solids;
|
|
using OSCADSharp.Transforms;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OSCADSharp.ConsoleTests
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Cube cube = new Cube() {
|
|
Size = new Vector3(5, 5, 5),
|
|
Center = true
|
|
};
|
|
|
|
ColoredObject co = new ColoredObject(cube, "Red");
|
|
var evenMoreColors = new ColoredObject(co, "Blue", .5);
|
|
|
|
Console.WriteLine(evenMoreColors.ToString());
|
|
Console.ReadKey();
|
|
}
|
|
}
|
|
}
|