ExtensionsAverage(IEnumerabledvec2) Method |
Returns the average value.
Namespace: RAYLASE.SharedAssembly: RAYLASE.Shared (in RAYLASE.Shared.dll) Version: 2.19.0
Syntaxpublic static dvec2 Average(
this IEnumerable<dvec2> values
)
Parameters
- values IEnumerabledvec2
- Input vectors to average.
Return Value
dvec2[Missing <returns> documentation for "M:RAYLASE.Shared.Extensions.Average(System.Collections.Generic.IEnumerable{GlmSharp.dvec2})"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerabledvec2. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also