20 lines
377 B
C#
20 lines
377 B
C#
using StgSharp.Math;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace StgSharp.Geometries
|
|
{
|
|
|
|
/// <summary>
|
|
/// A square
|
|
/// </summary>
|
|
public class Square:Rectangle
|
|
{
|
|
public sealed override vec3d MovVertex02(uint tick)
|
|
{
|
|
return this.center.Position * 2 - this.vertex01.Position;
|
|
}
|
|
|
|
}
|
|
} |