Tesla Graphics Engine Documentation (January 2012)
ComputeFromPrimitives Method (vertices, indices)
Tesla
►
Tesla.Bounding
►
BoundingSphere
►
ComputeFromPrimitives(
array<
Vector3
>
[]
()
[]
[]
,
array<
Int32
>
[]
()
[]
[]
)
C#
Computes the bounding sphere from a collection of indexed primitives.
Declaration Syntax
C#
public
override
void
ComputeFromPrimitives
(
Vector3
[]
vertices
,
int
[]
indices
)
Parameters
vertices
(
array<
Vector3
>
[]
()
[]
[]
)
Collection of positions
indices
(
array<
Int32
>
[]
()
[]
[]
)
Collection of indices
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)