mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-13 09:02:10 +00:00
42 lines
425 B
Plaintext
42 lines
425 B
Plaintext
|
|
|
|
func Main(input, in)
|
|
{
|
|
|
|
print "PI is: " + PI
|
|
int x = 1
|
|
print x
|
|
float k = 0
|
|
print k
|
|
while x < 5
|
|
{
|
|
print x
|
|
float s = Sin(x)
|
|
print s
|
|
k = Sigmoid(s)
|
|
print k
|
|
|
|
x += 1
|
|
}
|
|
|
|
NewCircle(0, 0, 5)
|
|
CPP.Graphics.Init(64, 64)
|
|
}
|
|
|
|
func Update(input)
|
|
{
|
|
//int x = 0
|
|
//int y = 0
|
|
//while x < 16
|
|
//{
|
|
// while y < 16
|
|
// {
|
|
// SetPixel(x, y, 255, 0, 0)
|
|
// y += 1
|
|
// }
|
|
// y = 0
|
|
// x += 1
|
|
//}
|
|
print "updating"
|
|
}
|