Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Rebase patch1.70.1 #8

Merged
merged 1,113 commits into from
Jun 24, 2020
Merged

Rebase patch1.70.1 #8

merged 1,113 commits into from
Jun 24, 2020

Conversation

katSchmid
Copy link

No description provided.

mramato and others added 30 commits May 12, 2020 09:25
Add space to JSDoc attributes
Fix problem switching from Uint16 to Uint32 indices for outlining.
Added frustumSplits option to DebugCameraPrimitive
Simplify skinning to always expect VEC4 joint/weight accessors.
I was modifying gulpfile in another branch and realized formatting was
not set up correctly.
Omar Shehata and others added 23 commits June 8, 2020 15:22
We were including all Cesium directories in the TypeScript smokescreen
configuration. This meant that multiple Cesium.d.ts files were included
if you did a full build and then ran `build-ts` afterwards. This updates
the config used by the smokescreen to only include Source.
Exposing Transforms.rotationMatrixFromPositionVelocity
Add some missing readonly documentation tags
Only include Source folder in TypeScript smokescreen tests.
Expose buildModuleUrl as part of the Cesium API
None of the `XXXGeometry` classes are actually `Geometry` instances. They
are instead utility classes that create geometries via their
`createGeometry` implementation. `GeometryInstance` can take either "type"
but since JS doesn't have types we never really defined what the "utility"
type is, so the TypeScript definition for `GeometryInstance` specifies that
currently only specifies `Geometry`. This means that this valid JS code
is a compiler error in TypeScript

```
const geometryInstance = new GeometryInstance({
  geometry: new PolylineGeometry({
    positions: [],
  }),
});
```

To fix this, I introduced a `GeometryFactory` base class like we have
elsewhere in the code and changed `GeometryInstance` to take either type.
This is the only place where we actually base "non-geometry Geometry" in
the API.

Happy to consider other names, like `GeometryCreator` if we don't like
factory for some reason, but I want to get this in sooner rather than
later for 1.70.1 fixes.

Also fixed an issue with tsconfig.json I introduced in my last change
which was failing to actually catch TS compile errors because it wasn't
including the Cesium.d.ts.
Fix geometry creation in TypeScript
@katSchmid katSchmid mentioned this pull request Jun 24, 2020
@katSchmid katSchmid changed the title WIP Rebase patch1.70.1 Rebase patch1.70.1 Jun 24, 2020
@katSchmid katSchmid requested a review from chris-cooper June 24, 2020 04:11
Copy link

@chris-cooper chris-cooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@katSchmid katSchmid merged commit 7931eb4 into master Jun 24, 2020
katSchmid pushed a commit that referenced this pull request Nov 10, 2021
@katSchmid katSchmid deleted the rebasePatch1.70.1 branch February 3, 2022 00:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.