|
@ -86,7 +86,7 @@ namespace SemiColinGames { |
|
|
|
|
|
|
|
|
foreach (EffectPass pass in lightingEffect.CurrentTechnique.Passes) { |
|
|
foreach (EffectPass pass in lightingEffect.CurrentTechnique.Passes) { |
|
|
pass.Apply(); |
|
|
pass.Apply(); |
|
|
graphics.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, coneVertices.Length, 0, indices.Length / 3); |
|
|
|
|
|
|
|
|
graphics.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, indices.Length / 3); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|