+ comments to the SM.Base
+ Length, Normalize methods for CVectors
This commit is contained in:
parent
5d4b360b05
commit
9b917ac181
18 changed files with 248 additions and 33 deletions
|
|
@ -25,7 +25,7 @@ namespace SM.Base.Objects.Static
|
|||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override VBO Vertex { get; } = new VBO
|
||||
public override VBO Vertex { get; protected set; } = new VBO
|
||||
{
|
||||
{-.5f, -.5f, 0},
|
||||
{-.5f, .5f, 0},
|
||||
|
|
@ -34,7 +34,7 @@ namespace SM.Base.Objects.Static
|
|||
};
|
||||
|
||||
/// <inheritdoc />
|
||||
public override VBO UVs { get; } = new VBO(pointerSize: 2)
|
||||
public override VBO UVs { get; protected set; } = new VBO(pointerSize: 2)
|
||||
{
|
||||
{0, 1},
|
||||
{0, 0},
|
||||
|
|
@ -43,7 +43,7 @@ namespace SM.Base.Objects.Static
|
|||
};
|
||||
|
||||
/// <inheritdoc />
|
||||
public override PrimitiveType PrimitiveType { get; } = PrimitiveType.Quads;
|
||||
public override PrimitiveType PrimitiveType { get; protected set; } = PrimitiveType.Quads;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override BoundingBox BoundingBox { get; } =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue