Skip to content

Commit d2f15e4

Browse files
committed
adding authors, contributing, and license
1 parent c87e12f commit d2f15e4

File tree

85 files changed

+331
-1295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+331
-1295
lines changed

AUTHORS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Below is a list of people and organizations that have contributed
2+
# to the project. Names should be added to the list like so:
3+
#
4+
# Name/Organization <email address>
5+
6+
Google Inc.
7+
8+
Don Olmstead <[email protected]>
9+
Adam Singer <[email protected]>
10+
Oliver Sand <[email protected]>

AUTHORS.txt

Lines changed: 0 additions & 11 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Want to contribute? Great! First, read this page (including the small print at
2+
the end).
3+
4+
### Before you contribute
5+
Before we can use your code, you must sign the
6+
[Google Individual Contributor License Agreement](https://cla.developers.google.com/about/google-individual)
7+
(CLA), which you can do online. The CLA is necessary mainly because you own the
8+
copyright to your changes, even after your contribution becomes part of our
9+
codebase, so we need your permission to use and distribute your code. We also
10+
need to be sure of various other things—for instance that you'll tell us if you
11+
know that your code infringes on other people's patents. You don't have to sign
12+
the CLA until after you've submitted your code for review and a member has
13+
approved it, but you must do it before we can put your code into our codebase.
14+
15+
Before you start working on a larger contribution, you should get in touch with
16+
us first through the issue tracker with your idea so that we can help out and
17+
possibly guide you. Coordinating up front makes it much easier to avoid
18+
frustration later on.
19+
20+
### Code reviews
21+
All submissions, including submissions by project members, require review. We
22+
use Github pull requests for this purpose.
23+
24+
### File headers
25+
All files in the project must start with the following header.
26+
27+
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
28+
// for details. All rights reserved. Use of this source code is governed by a
29+
// BSD-style license that can be found in the LICENSE file.
30+
31+
### The small print
32+
Contributions made by corporations are covered by a different agreement than the
33+
one above, the
34+
[Software Grant and Corporate Contributor License Agreement](https://developers.google.com/open-source/cla/corporate).

LICENSE

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
1-
vector_math
2-
3-
Copyright (C) 2013 John McCutchan <[email protected]>
4-
5-
This software is provided 'as-is', without any express or implied
6-
warranty. In no event will the authors be held liable for any damages
7-
arising from the use of this software.
1+
Copyright 2015, Google Inc. All rights reserved.
82

9-
Permission is granted to anyone to use this software for any purpose,
10-
including commercial applications, and to alter it and redistribute it
11-
freely, subject to the following restrictions:
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
126

13-
1. The origin of this software must not be misrepresented; you must not
14-
claim that you wrote the original software. If you use this software
15-
in a product, an acknowledgment in the product documentation would be
16-
appreciated but is not required.
17-
2. Altered source versions must be plainly marked as such, and must not be
18-
misrepresented as being the original software.
19-
3. This notice may not be removed or altered from any source distribution.
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above
10+
copyright notice, this list of conditions and the following disclaimer
11+
in the documentation and/or other materials provided with the
12+
distribution.
13+
14+
* Neither the name of Google Inc. nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

benchmark/matrix_bench.dart

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
3-
4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
20-
*/
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
214

225
library vector_math_matrix_bench;
236

bin/mesh_generator.dart

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
34

4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
20-
*/
21-
22-
library vector_math_mesh_generator;
5+
library vector_math.mesh_generator;
236

247
import 'dart:convert';
258
import 'package:vector_math/vector_math_geometry.dart';

lib/src/vector_math/aabb2.dart

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
3-
4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
20-
*/
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
214

225
part of vector_math;
236

lib/src/vector_math/aabb3.dart

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
3-
4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
20-
*/
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
214

225
part of vector_math;
236

lib/src/vector_math/colors.dart

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
3-
4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
20-
*/
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
214

225
part of vector_math;
236

lib/src/vector_math/constants.dart

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
3-
4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
*/
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
204

215
part of vector_math;
226

lib/src/vector_math/error_helpers.dart

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
3-
4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
*/
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
204

215
part of vector_math;
226

lib/src/vector_math/frustum.dart

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
3-
4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
20-
*/
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
214

225
part of vector_math;
236

lib/src/vector_math/matrix2.dart

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
3-
4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
20-
*/
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
214

225
part of vector_math;
236

lib/src/vector_math/matrix3.dart

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1-
/*
2-
Copyright (C) 2013 John McCutchan <[email protected]>
3-
4-
This software is provided 'as-is', without any express or implied
5-
warranty. In no event will the authors be held liable for any damages
6-
arising from the use of this software.
7-
8-
Permission is granted to anyone to use this software for any purpose,
9-
including commercial applications, and to alter it and redistribute it
10-
freely, subject to the following restrictions:
11-
12-
1. The origin of this software must not be misrepresented; you must not
13-
claim that you wrote the original software. If you use this software
14-
in a product, an acknowledgment in the product documentation would be
15-
appreciated but is not required.
16-
2. Altered source versions must be plainly marked as such, and must not be
17-
misrepresented as being the original software.
18-
3. This notice may not be removed or altered from any source distribution.
19-
20-
*/
1+
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
2+
// All rights reserved. Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
214

225
part of vector_math;
236

0 commit comments

Comments
 (0)