C# Class WolfEngine.Vector2f

ファイルを表示 Open project: emcf/WolfEngine Class Usage Examples

Public Properties

Property Type Description
x float
y float

Public Methods

Method Description
Add ( float amount ) : Vector2f
DotProduct ( Vector2f inputVector ) : float
Project ( ) : Vector2f
ToPoint ( ) : PointF
ToString ( ) : string
Vector2f ( float x, float y ) : System

Method Details

Add() public method

public Add ( float amount ) : Vector2f
amount float
return Vector2f

DotProduct() public method

public DotProduct ( Vector2f inputVector ) : float
inputVector Vector2f
return float

Project() public method

public Project ( ) : Vector2f
return Vector2f

ToPoint() public method

public ToPoint ( ) : PointF
return System.Drawing.PointF

ToString() public method

public ToString ( ) : string
return string

Vector2f() public method

public Vector2f ( float x, float y ) : System
x float
y float
return System

Property Details

x public_oe property

public float x
return float

y public_oe property

public float y
return float