메소드 | 설명 | |
---|---|---|
RandomPointInConvexPoly ( Microsoft.Xna.Framework.Vector3 pts, float s, float t, Microsoft.Xna.Framework.Vector3 &pt ) : void |
Generate an accurate sample of random points in the convex polygon and pick a point.
|
public static RandomPointInConvexPoly ( Microsoft.Xna.Framework.Vector3 pts, float s, float t, Microsoft.Xna.Framework.Vector3 &pt ) : void | ||
pts | Microsoft.Xna.Framework.Vector3 | The polygon's points data |
s | float | A random float |
t | float | Another random float |
pt | Microsoft.Xna.Framework.Vector3 | The resulting point |
리턴 | void |