I’m in the process of cleaning up Core/Transforms.js and I realized it’s kind of a dumping ground right now. It has 4 functions
eastNorthUpToFixedFrame : function(position, ellipsoid)
northEastDownToFixedFrame : function(position, ellipsoid)
computeTemeToPseudoFixedMatrix : function (date)
pointToWindowCoordinates : function (modelViewProjectionMatrix, viewportTransformation, point)
None of these really “go” together and I think it may be better to get rid of Transforms altogether and move them elsewhere. For example, maybe the first 3 would be better to have on Ellipsoid. I think the last one is too low-level and doesn’t do much; it’s also only used in CentralBody. I think we should make it a private function there and replace it with a new high-level function on Scene that just takes a point in world coordinates. (the new function would work in all 3 scene modes).
On a related note, Matrix4 has a whole bunch of “compute” functions that are similar to the Transform functions, so if we don’t want them on Ellipsoid, that would be the next best place.