added build folder added build script for release build of ANX.Framework and all RenderSystems fixed some issues in projects regarding compiler directives removed StockShaderCodeGenerator from Pre-Build-Events. Build the Stock shaders using NAnt target build_stock_shaders. started Wiki documentation for custom build switches (e.g. extended mode)
12 lines
243 B
C#
12 lines
243 B
C#
using System;
|
|
|
|
//Calculates the circumference of a circle given the radius.
|
|
public class Calculate {
|
|
|
|
private double circ = 0;
|
|
|
|
public double Circumference(double radius){
|
|
circ = Math.PI*2*radius;
|
|
return circ;
|
|
}
|
|
} |