From 2a3c79df83e800d5dfe75a1a3b140ed81da2b1d6 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 16 Jul 2007 15:40:11 +0000 Subject: changed to native line ending encoding --- bin/TerrainFilters/demofilter.cs | 98 +++++++++++++++++------------------ bin/data/LICENSE-README-IMPORTANT.txt | 8 +-- bin/data/avataranimations.xml | 18 +++---- bin/openjpegnet.dll.config | 10 ++-- 4 files changed, 67 insertions(+), 67 deletions(-) (limited to 'bin') diff --git a/bin/TerrainFilters/demofilter.cs b/bin/TerrainFilters/demofilter.cs index 1fdfc95..4b48571 100644 --- a/bin/TerrainFilters/demofilter.cs +++ b/bin/TerrainFilters/demofilter.cs @@ -1,50 +1,50 @@ -using System; -using libTerrain; -using OpenSim.Terrain; - -/// -/// A Demonstration Filter -/// -public class DemoFilter : ITerrainFilter -{ - public void Filter(Channel heightmap, string[] args) - { - Console.WriteLine("Hello world"); - } - - public string Register() - { - return "demofilter"; - } - - public string Help() - { - return "demofilter - Does nothing\n"; - } -} - -public class SineFilter : ITerrainFilter -{ - public void Filter(Channel heightmap, string[] args) - { - double max = heightmap.findMax(); - - for (int x = 0; x < heightmap.w; x++) - { - for (int y = 0; y < heightmap.h; y++) - { - heightmap.set(x,y,((Math.Sin(heightmap.get(x,y) * Convert.ToDouble(args[1])) + 1) / 2) * max); - } - } - } - - public string Register() - { - return "sinefilter"; - } - - public string Help() - { - return "sinefilter - Converts the heightmap to the functional output of a sine wave"; - } +using System; +using libTerrain; +using OpenSim.Terrain; + +/// +/// A Demonstration Filter +/// +public class DemoFilter : ITerrainFilter +{ + public void Filter(Channel heightmap, string[] args) + { + Console.WriteLine("Hello world"); + } + + public string Register() + { + return "demofilter"; + } + + public string Help() + { + return "demofilter - Does nothing\n"; + } +} + +public class SineFilter : ITerrainFilter +{ + public void Filter(Channel heightmap, string[] args) + { + double max = heightmap.findMax(); + + for (int x = 0; x < heightmap.w; x++) + { + for (int y = 0; y < heightmap.h; y++) + { + heightmap.set(x,y,((Math.Sin(heightmap.get(x,y) * Convert.ToDouble(args[1])) + 1) / 2) * max); + } + } + } + + public string Register() + { + return "sinefilter"; + } + + public string Help() + { + return "sinefilter - Converts the heightmap to the functional output of a sine wave"; + } } \ No newline at end of file diff --git a/bin/data/LICENSE-README-IMPORTANT.txt b/bin/data/LICENSE-README-IMPORTANT.txt index 3229102..86e401f 100644 --- a/bin/data/LICENSE-README-IMPORTANT.txt +++ b/bin/data/LICENSE-README-IMPORTANT.txt @@ -1,5 +1,5 @@ -Not all of the files in this directory are licensed under the BSD license. Some of these files come with the Second Life viewer and are considered licensed under a Creative Commons License. - -These files are: - +Not all of the files in this directory are licensed under the BSD license. Some of these files come with the Second Life viewer and are considered licensed under a Creative Commons License. + +These files are: + - avataranimations.xml (Derivative work of viewerart.ini, Creative Commons Attribution+Share-Alike v2.5 License) \ No newline at end of file diff --git a/bin/data/avataranimations.xml b/bin/data/avataranimations.xml index 461613f..8a98c62 100644 --- a/bin/data/avataranimations.xml +++ b/bin/data/avataranimations.xml @@ -1,10 +1,10 @@ - - - - - - - 2408fe9e-df1d-1d7d-f4ff-1384fa7b350f - 6ed24bd8-91aa-4b12-ccc7-c97c857ab4e0 - aec4610c-757f-bc4e-c092-c6e9caf18daf + + + + + + + 2408fe9e-df1d-1d7d-f4ff-1384fa7b350f + 6ed24bd8-91aa-4b12-ccc7-c97c857ab4e0 + aec4610c-757f-bc4e-c092-c6e9caf18daf \ No newline at end of file diff --git a/bin/openjpegnet.dll.config b/bin/openjpegnet.dll.config index 665b78d..d705199 100644 --- a/bin/openjpegnet.dll.config +++ b/bin/openjpegnet.dll.config @@ -1,5 +1,5 @@ - - - - - + + + + + -- cgit v1.1