Click or drag to resize

ExtensionsSum(IEnumerabledvec2) Method

Returns the vectors' sum.

Namespace: RAYLASE.Shared
Assembly: RAYLASE.Shared (in RAYLASE.Shared.dll) Version: 2.19.0
Syntax
C#
public static dvec2 Sum(
	this IEnumerable<dvec2> values
)

Parameters

values  IEnumerabledvec2
Input vectors to sum up.

Return Value

dvec2

[Missing <returns> documentation for "M:RAYLASE.Shared.Extensions.Sum(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